scipy.sparse
dia_matrix.
log1p
Element-wise log1p.
See numpy.log1p for more information.
scipy.sparse.dia_matrix.getrow
scipy.sparse.dia_matrix.maximum