polars.Expr.forward_fill
-
Fill missing values with the last non-null value.
This is an alias of
.fill_null(strategy="forward").- Parameters:
-
- limit
-
The number of consecutive null values to forward fill.
See also
Expr.forward_fill(
limit: int | None = None,
) → Expr
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.forward_fill.html