SciPy

scipy.sparse.lil_matrix.minimum

lil_matrix.minimum(other)[source]

Element-wise minimum between this and another matrix.