Spec-Zone.ru › Polars

polars.DataFrame.shrink_to_fit

DataFrame.shrink_to_fit(
    *,
    in_place: bool = False,
) → DataFrame

Shrink DataFrame memory usage.

Shrinks to fit the exact capacity needed to hold the data.

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

Spec-Zone.ru

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