News for hackers. Stuff that matters.
Re:The best way to use text embeddings portably is with Parq... by mhh__ on Monday February 24, 2025 @09:54PM (#43167545)
I still don't like dataframes but oh my God Polars is so much better than pandas.

I was doing some time series calculations, simple equity price adjustments basically, in Polars and my two thoughts were:

- WTF, I can actually read the code and test it.

- it's running so fast it seems like it's broken.

Re:The best way to use text embeddings portably is with Parq... by eskaytwo on Monday February 24, 2025 @10:36PM (#43167868)
There’s some nice plugins too, some are finance related: https://github.com/ddotta/awesome-polars
Re:The best way to use text embeddings portably is with Parq... by mhh__ on Monday February 24, 2025 @11:24PM (#43168163)
The one thing I really want is for someone to make it so I can use it in F#. Presumably it's possible given how the python bit is implemented under the hood?
Re:The best way to use text embeddings portably is with Parq... by whyever on Tuesday February 25, 2025 @02:30AM (#43169197)
It uses pyo3 to generate the bindings, so you would have to find a similar crate for F#/.NET and port the polars Python FFI to it. If such a crate does not exist, it will be even more work.
Re:The best way to use text embeddings portably is with Parq... by LaurensBER on Tuesday February 25, 2025 @06:48AM (#43170740)
Yeah, the readability difference is immense. I worked for years with Pandas and I still cannot "scan" it as quickly as with a "normal" programming language or SQL. Then there's the whole issue with (multi)-indexes, serialisation, etc.

Polars makes programming fun again instead of a chore.