scipy.sparse.csr_matrix. scipy.sparse.csr_matrix.nnz# property csr_matrix.nnz# 儲存值的數量,包括顯式零值。 參見 count_nonzero非零條目的數量