scipy.sparse.dok_matrix.getnnz ============================== .. currentmodule:: scipy.sparse .. automethod:: dok_matrix.getnnz