SciPy

scipy.sparse.csr_matrix.min

csr_matrix.min()[source]

Minimum of the elements of this matrix.

This takes all elements into account, not just the non-zero ones.

Returns :

amin : self.dtype

Minimum element.