SciPy

scipy.sparse.dok_matrix.minimum

dok_matrix.minimum(other)[source]