pandas.
SparseDtype
Dtype for data stored in SparseArray.
SparseArray
This dtype implements the pandas ExtensionDtype interface.
New in version 0.24.0.
The dtype of the underlying array storing the non-fill value values.
The scalar value not stored in the SparseArray. By default, this depends on dtype.
dtype
na_value
float
np.nan
int
0
bool
False
datetime64
pd.NaT
timedelta64
The default value may be overridden by specifying a fill_value.
Attributes
None
Methods