Spec-Zone.ru › Polars

polars.Expr.forward_fill

Expr.forward_fill(
    limit: int | None = None,
) → Expr

Fill missing values with the last non-null value.

This is an alias of .fill_null(strategy="forward").

engine:In MemoryStreaming
Parameters:
limit

The number of consecutive null values to forward fill.

See also

backward_fill
fill_null
shift

© 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API