class pandas.SparseDtype(dtype: Union[str, numpy.dtype, pandas.core.dtypes.base.ExtensionDtype] = <class 'numpy.float64'>, fill_value: Any = None)
[source]
Dtype for data stored in SparseArray
.
This dtype implements the pandas ExtensionDtype interface.
New in version 0.24.0.
Parameters: |
|
---|
None |
None |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.SparseDtype.html