GCXS.nnz

property GCXS.nnz

The number of nonzero elements in this array.

Returns:

The number of nonzero elements in this array.

Return type:

int

See also

COO.nnz

Equivalent COO array property.

DOK.nnz

Equivalent DOK array property.

numpy.count_nonzero

A similar Numpy function.

scipy.sparse.csr_matrix.nnz

The Scipy equivalent property.