SciPy
Section Navigation
dok_matrix.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.dok_matrix.getmaxprint
next
scipy.sparse.dok_matrix.getrow