3 ms·
With Polars you use `df.select()` or `df.with_columns()` which return "new" DataFrames - so you don't have mutable objects everywhere. There is an SO answer[1]
by cmdlineluser 2y ago
With Polars you use `df.select()` or `df.with_columns()` which return "new" DataFrames - so you don't have mutable objects everywhere.
There is an SO answer[1] by the Polars author which may have some relevance.
[1]: https://stackoverflow.com/questions/73934129/ https://stackoverflow.com/questions/73934129/