scipy.sparse.dia_matrix.

log1p#

dia_matrix.log1p()[source]#

Element-wise log1p. See numpy.log1p for more information.

Returns:
log1psparse array / matrix

Result of applying numpy.log1p to the data of this sparse matrix.