scipy.sparse.dok_matrix.size#

property dok_matrix.size#

Number of stored values.

See also

count_nonzero

Number of non-zero values.