SciPy
spmatrix.getnnz
Number of stored values, including explicit zeros.
Select between the number of values across the whole array, in each column, or in each row.
previous
scipy.sparse.spmatrix.getmaxprint
next
scipy.sparse.spmatrix.getrow