News for hackers. Stuff that matters.
Re:Polars by wenc on Monday January 08, 2024 @07:01PM (#38920360)
I don’t use Polars directly, but instead I use it as a materialization format in my DuckDB workflows.

Duckdb.query(sql).pl() is much faster than duckdb.query(sql).df(). It’s zero copy to Polars and happens instantaneously while Pandas takes quite a while if the DataFrame is big. And you can manipulate it like a Pandas DataFrame (albeit with slightly different syntax).

It’s greater for working with big datasets.

Re:Polars by grej on Monday January 08, 2024 @11:16PM (#38922239)
This is a really nice insight that I wasn't aware of. Many thanks.
Re:Polars by sanderjd on Tuesday January 09, 2024 @12:14AM (#38922602)
Very cool!
Re:Polars by petrusnonius on Friday January 12, 2024 @09:59AM (#38968773)
Thanks for this!