Spec-Zone.ru › Polars

polars.Series.backward_fill

Series.backward_fill(
    limit: int | None = None,
) → Series

Fill missing values with the next non-null value.

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

Parameters:
limit

The number of consecutive null values to backward fill.

See also

fill_null
forward_fill
shift

© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.backward_fill.html

Spec-Zone.ru

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