SciPy

scipy.sparse.csr_matrix.maximum

csr_matrix.maximum(other)[source]

Element-wise maximum between this and another matrix.