Enter search terms or a module, class or function name.
SparseArray.
npoints
The number of non- fill_value points.
fill_value
Examples
>>> s = SparseArray([0, 0, 1, 1, 1], fill_value=0) >>> s.npoints 3