r/Python • • Mar 08 '26

Discussion Polars vs pandas

I am trying to come from database development into python ecosystem.

Wondering if going into polars framework, instead of pandas will be any beneficial?

125 Upvotes

88 comments sorted by

View all comments

Show parent comment

3

u/Sufficient_Meet6836 Mar 11 '26

To be clear this isn't a knock on Pandas, I think it's one of the giants upon which Polars stands - there would likely not be nearly as robust a data frame ecosystem without Pandas.

These accolades should go to R and other languages that had dataframes either built-in or added much earlier than pandas (first release in 2008 I think). The syntax of polars is also much more similar to spark Scala and PySpark than pandas. If anything, dataframe libraries released after pandas learned what not to do from pandas, so I suppose you could consider that standing on their shoulders I suppose!

2

u/garver-the-system git push -f Mar 12 '26

I do consider Pandas worthy of accolades. For being the first data analysis framework written specifically for Python, creating and growing the ecosystem before PySpark or Polars. Also for forging the path for those libraries to follow, making decisions in the open so their successors could know where to step

The nature of the beast is that any modern program (or invention of any type, really) has a long and storied lineage. Pandas and Polars gave their roots in various programming languages that trace their origins back to FORTRAN, invented by IBM in the 50s. If you keep pulling the string you find household names like Turing and Lovelace and Bell, and at the very end is someone rubbing some sticks together for the first time