SciPy

scipy.sparse.coo_matrix.maximum

coo_matrix.maximum(other)[source]

Element-wise maximum between this and another matrix.