pandas.Series.sparse.npoints #

系列.稀疏。npoints [来源] #

非点数fill_value

例子

>>> from pandas.arrays import SparseArray
>>> s = SparseArray([0, 0, 1, 1, 1], fill_value=0)
>>> s.npoints
3