scipy.sparse
dia_matrix.
maximum
Element-wise maximum between this and another matrix.
scipy.sparse.dia_matrix.log1p
scipy.sparse.dia_matrix.mean