Site Navigation
The number of non-fill_value points.
fill_value
Examples
>>>frompandas.arraysimportSparseArray>>>s=SparseArray([0,0,1,1,1],fill_value=0)>>>s.npoints3
Series.sparse.npoints