polars.LazyFrame.fill_nan#

LazyFrame.fill_nan(fill_value: int | str | float | polars.internals.expr.expr.Expr | None) LDF[source]#

Fill floating point NaN values.

Parameters:
fill_value

Value to fill the NaN values with.

Warning

Note that floating point NaN (Not a Number) are not missing values! To replace missing values, use fill_null() instead.