pandas.SparseDtype.fill_value

SparseDtype.fill_value

The fill value of the array.

Converting the SparseArray to a dense ndarray will fill the array with this value.

Warning

It’s possible to end up with a SparseArray that has fill_value values in sp_values. This can occur, for example, when setting SparseArray.fill_value directly.

© 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.24.2/reference/api/pandas.SparseDtype.fill_value.html