Hacker News new | ask | show | jobs
by ok_computer 595 days ago
I’d recommend using the polars SQL context manager if wanting to defer learning how to do everything through their API. The API is a big enough shift from pandas it took me a minute to figure out but I really enjoy having the choice to stay in dataframe methods or switch to SQL only transformations. It has global state too if that’s needed. I like that it isn’t a RDBMS but provides all of the SQL I use.

https://docs.pola.rs/api/python/stable/reference/sql/python_...

https://docs.pola.rs/api/python/stable/reference/sql/python_...