log1p scipy.sparse.csr_array. csr_array.log1p() Element-wise log1p. See numpy.log1p for more information. Returns: log1p : sparse array / matrixResult of applying to the data of this sparse matrix.