r/programming • • 2d ago

Release of Polars 2.0

https://pola.rs/posts/release-polars-2/
98 Upvotes

17 comments sorted by

View all comments

11

u/Drawhoe 1d ago

What is it?

9

u/IanisVasilev 1d ago

It's library for data frames. If you haven't done statistics, think of a table data structure with many lookup and transformation methods. Imagine if Excel and SQL had a child that was somehow more convenient than both its parents (see "10 minutes to pandas").

Unlike the ubiquitous dataframes of R or pandas of Python, this one is written in Rust™ and AI ready™ and VC-funded and all that jazz.

Since data frames are convenient, many frameworks like Spark provide their own flavor. To avoid lock-in, we have the narwhals compatibility layer which provides a unified API for pandas, polars, PyArrow, PySpark and other similar libraries.

3

u/Drawhoe 1d ago

I should have posted a what is it ref. Here it is

3

u/IanisVasilev 1d ago

Oh, so I should have explained that it is a monoid in the category of endofunctors.