Release of Polars 2.0

(pola.rs)

108 points | by simicd 2 hours ago

9 comments

  • therno 3 minutes ago
    I use Polars 2.0(rc) to (pre)calculate billions of weather scores on https://therno.com and it has been a lifesaver

    Happy that I can upgrade to 2.0 final tonight.

  • gozzoo 50 minutes ago
    I'm not following the trends closely, but has Polars become a full replacement for Pandas? Are there use cases where one is better suited than the other?
    • desipenguin 14 minutes ago
      From recent Python Bytes podcast (https://pythonbytes.fm/episodes/show/496/a-lake-house-in-sea...)

      > 1 Billion Row Challenge benchmark: Pandas took 4m28s vs. Polars 5.04s and DuckDB 5.19s — DuckDB also used 19x less memory

      Python Vs Rust : In terms for speed - No comparison

      (The above episode transcript has a link to blog post titled "Pandas should go extinct" )

    • esco2292 20 minutes ago
      Polars is effectively a full replacement for Pandas for 99.9% of all cases. The only exception I'm really aware of is if you're working with geospatial data, as there isn't yet a "Geopolars" equivalent of the commonly used "Geopandas". However, Geopolars is still in active development and should eventually be production ready.
    • 392 37 minutes ago
      my understanding is Polars is faster, scales better without using external solutions, better API, +Rust. Pandas wins if you want to use what the vast majority of folks are using and have used in the past. Probably has a more complete set of helpers / recipes for the little things you bump into when using it thoroughly, but in the age of LLMs, I think that's minor.
      • vovavili 4 minutes ago
        >Pandas wins if you want to use what the vast majority of folks are using

        Vast majority of skilled developers are now using Polars. That's the more important trend to follow.

  • sgarland 57 minutes ago
    TIL that Polars supports SQL. Amazing.
  • Kinrany 23 minutes ago
    How does Polars relate to DataFusion these days? There's no reason for them not to converge into a single ecosystem, is there?
  • dartharva 10 minutes ago
    Been using polars for over a year now, it is fantastic.
  • dkgs 1 hour ago
    A coincidence with the fact duckdb is supposed to release 2.0.0 very soon? :)
    • orlp 58 minutes ago
      Actually yes. We had already been planning to do 2.0 for a long time. We originally said we'd move on from 1.x quickly when released 1.0 but ended up staying at 1.x much longer than intended.

      From a quick check our first PRs were merged to the 2.0 branch in June:

          2026-06-17T21:27:51Z #27993 chore: Stop coercing `pl.col(...)` to selector ...
          2026-06-18T14:19:26Z #27996 chore!: Replace multi-seed hash API with a single seed
          2026-06-19T07:05:11Z #27991 chore(python!): Remove `Expr.flatten` function
    • m00dy 58 minutes ago
      Are they competing for something?
      • vindex10 36 minutes ago
        > first class SQL support, which together with the performance improvements has Polars leading DataFusion and DuckDB in TPC-H and TPC-DS1 benchmarks,

        Apparently about something ))

  • hnd9q09qk4 1 hour ago
    Thing I care about most is whether the old eager-vs-lazy footguns got cleaned up. Half my bugs were a stray collect() in a loop killing the query plan.
  • Vaslo 24 minutes ago
    My team is all moving over to polars and DuckDB
  • tonyhart7 51 minutes ago
    finally long time coming

    cant wait to upgrade my Quant trading bot

    • m00dy 27 minutes ago
      I'm also using it for BlockRotate, it's time to upgrade.