News for hackers. Stuff that matters.
Re:Modern Pandas (Part 2): Method Chaining by tomtom1337 on Sunday May 01, 2022 @11:23AM (#31225757)
I'd recommend checking out polars as an alternative to pandas - https://github.com/pola-rs/polars

It has a rather different api, and is significantly faster. Highly recommend it.

Re:Modern Pandas (Part 2): Method Chaining by riyadparvez on Sunday May 01, 2022 @11:51AM (#31226022)
The issue is there's a huge ecosystem developed on top of Pandas. So if it's different API, now you lose access to all the ecosystem.
Re:Modern Pandas (Part 2): Method Chaining by ritchie46 on Sunday May 01, 2022 @01:14PM (#31226706)
Should not be a real blocker. There is good interop with arrow, numpy and pandas. Where arrow and numpy mostly is zero-copy.

So you are one `df.to_numpy()/df.to_pandas()` away to `X` libary you want to use.

Re:Modern Pandas (Part 2): Method Chaining by nojito on Sunday May 01, 2022 @12:53PM (#31226531)
Polars can export to arrow which you can then load into pandas.

Or you can convert it directly into a pandas Df