SciPy

scipy.sparse.bsr_matrix.maximum

bsr_matrix.maximum(other)[source]

Element-wise maximum between this and another matrix.