DataFrame.fillNa
Fill NaN/undefined values using the specified method. Detect missing values for an array-like object.
Last updated
Fill NaN/undefined values using the specified method. Detect missing values for an array-like object.
Last updated
danfo.DataFrame.fillNa(values, options) [source]
Parameters | Type | Description | Default |
---|---|---|---|
Missing values are NaN, undefined or null values
values
Array | Scalar
The list of value(s) to use for replacement.
options
Object
{columns:Array of column name(s) to fill. If undefined fill all columns
inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false
}
{inplace: false}