pandas.Index.fillna
pandas 3.1.1 · Index objects · method
Replace missing values with supplied replacements, such as a scalar or values aligned by label.
Call syntax
Index.fillna(value)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
value |
Required Positional or keyword |
scalar Provide the value used for the documented operation, such as a replacement or a test point. |
Returns
Index