Hacker News new | ask | show | jobs
by nicornk 552 days ago
The blog post echos my experience that duckDB just works (due to superior disk spilling capabilities) and polars OOMs a lot.
1 comments

My biggest issue with Polars (don’t shoot me) was the poor LLM support. 4o at least seems to frequently get confused with Pandas syntax or logic.

This pushed me to finally investigate the DuckDB hype, and it’s hard to believe I can just write SQL and it just works.

The API has mostly stabilized and at this point other than some minor errors (“groupby” vs “group_by”) LLM’s seem to do pretty well with it. Personally, I’m glad they made the breaking changes they did for the long-term health of the library.
Problem is ur using 4o. Use 3.5 sonnet, its much better
groupby and group_by is a big problem for polars with 4o.