polars.DataFrame.shrink_to_fit
-
Уменьшить использование памяти DataFrame.
Уменьшает объём памяти до точного размера, необходимого для хранения данных.
DataFrame.shrink_to_fit(
*,
in_place: bool = False,
) → DataFrame
© 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