Polars
- Problem solved: manipulate DataFrames much faster than pandas, by using every core of the machine, the Arrow columnar format and a query optimizer.
- Era: first commit on June 23, 2020, Polars company in 2023, version 1.0 on July 1, 2024, version 2.0 on October 6, 2026.
- Publisher: the Polars company, founded in 2023 (non-Apache project, MIT license).
- Category: DataFrame engine (single-machine OLAP query engine).
- Created by: Ritchie Vink; company co-founded with Chiel Peters.
Historical context
In 2020, pandas is the reference for DataFrames in Python, but it was started in 2008, long before 16-core laptops, and it is memory-hungry: Wes McKinney, its creator, advised in 2017 to have "5 to 10 times as much RAM as the size of your dataset" (see Arrow).
During the first lockdown of 2020, Ritchie Vink wants to join tables in Rust and finds that no DataFrame library exists in that ecosystem. The first commit dates from June 23, 2020: "It started as a pet project of mine, with the goal to learn more about query engines, Apache arrow and the Rust programming language". He builds a DataFrame structure on Arrow, first slower than pandas, then faster, and adds a Python front end.
On February 28, 2021, he publishes the post "I wrote one of the fastest DataFrame libraries". On the H2O.ai benchmark, Polars 0.6.5 is then second behind data.table (R) and far ahead of pandas. Ritchie Vink's thesis fits in one sentence: "I see DataFrames as a front-end on a query engine".
Adoption takes off. On August 3, 2023, Ritchie Vink and Chiel Peters, colleagues at Xomnia for five years, announce the Polars company, with a seed round of approximately 4M$ led by Bain Capital Ventures. The project stays MIT-licensed. Then come 1.0 (2024), an 18 million euro Series A led by Accel (2025), the Polars Cloud platform, and 2.0 (2026), which makes the streaming engine the default.
Key idea
Treat a DataFrame as the front end of a query engine. With the lazy API, you describe the whole chain of transformations; Polars builds a plan, optimizes it (read only the needed columns, filter as early as possible, reorder joins), then runs it in parallel on every core, over Arrow columns. It is the recipe of analytical databases, applied to a DataFrame API inside a Python script.
How it works
- Rust core, Arrow memory: in 2021, Polars relies on Arrow2, a Rust implementation of Arrow: contiguous columns, null values in a separate bitmap. No index, unlike pandas ("We also don't have indexes in Polars").
- Two APIs: eager (immediate execution, like pandas) and lazy
(
scan_parquet,lazy(), thencollect()), recommended for performance. - Optimizer: filters applied as early as possible, at scan level (predicate pushdown), reading only the needed columns (projection pushdown), caching common subplans, choosing join order to reduce memory pressure.
- Parallelism: lock-free hashing, each thread only keeps the keys for
which
hash % thread_numberpoints to it, which avoids any synchronization forgroup_byand joins. - Two engines: in-memory and streaming (redesigned in 2024,
"morsel-driven" parallelism and Rust async state machines). Since 2.0,
collect()uses streaming and spills to disk at about 80% of RAM. - SQL: Polars also accepts SQL queries, a support that became "first class" in 2.0.
import polars as pl
q = (
pl.scan_parquet("sales/*.parquet") # nothing is read here
.filter(pl.col("country") == "FR") # pushed down to the scan
.group_by("product")
.agg(pl.col("amount").sum())
)
print(q.explain()) # optimized plan
df = q.collect() # parallel execution
By the numbers
| Figure | Context | Source |
|---|---|---|
| 125 s vs 746 s | H2O.ai benchmark join (5 GB): Polars 0.6.5 against pandas (February 2021) | Polars blog, 2021 |
| About 4M$ | Seed round led by Bain Capital Ventures (August 2023) | Polars blog, company |
| 7 million | Monthly downloads at the 1.0 release (July 2024) | Polars blog, 1.0 |
| 3.89 s vs 365.71 s | PDS-H (derived from TPC-H) SF-10: Polars streaming against pandas, 94x (May 2025) | Polars blog, benchmarks |
| 19.65 s vs 23.94 s | PDS-H SF-100: DuckDB against Polars streaming (May 2025) | Polars blog, benchmarks |
| 18M euros | Series A led by Accel (September 2025) | Polars blog, Series A |
| From 250,000 to over 23 million | Monthly users between the seed and the Series A (2023 to 2025) | Polars blog, Series A |
| 64 GB | Default disk budget for spilling to disk in 2.0 (October 2026) | Polars blog, 2.0 |
Milestones
- June 23, 2020: first commit of Polars, a pet project of Ritchie Vink.
- February 28, 2021: post "I wrote one of the fastest DataFrame libraries" (Polars 0.6.5 in the H2O.ai benchmark).
- August 3, 2023: the Polars company is founded, seed round of about 4M$.
- July 1, 2024: Polars 1.0, in-memory engine and API declared production ready.
- June 1, 2025: PDS-H results from May 2025, the new streaming engine up to 3-7x faster than in-memory.
- September 29, 2025: 18M euro Series A led by Accel; the company announces it has launched Polars Cloud.
- October 6, 2026: Polars 2.0, streaming and spill to disk by default, first class SQL.
Did you know?
- Born from a Rust need, and indirectly from pandas: Ritchie Vink mostly wanted to join tables in Rust, and explained in 2021: "Polars was written because I was enthusiastic about the Apache Arrow project (which was initiated because of Pandas pains)".
- In-house benchmarks, openly so: Polars publishes its own PDS-H comparisons and states that they are not comparable to official TPC-H results. At the largest scale of May 2025, DuckDB comes first.
- A new default that shuffles order: with 2.0, the streaming engine
becomes the default, and it does not guarantee row order for operations that
don't require it (joins,
group_by,unpivot). - A laptop as an argument: "My laptop has 16 cores and 1TB hard disk. A DataFrame implementation should utilize that", Ritchie Vink wrote in 2023.
Strengths and limitations
| Strengths | Limitations |
|---|---|
| Very fast, uses every core | Younger ecosystem than pandas |
| Lazy API and query optimizer | pandas code needs porting (no index) |
| Built on Arrow, interoperable | Single machine in open source; distributed goes through Polars Cloud |
| Spill to disk by default (2.0) | Row order not guaranteed in streaming without an explicit option |
Where it fits
- A cousin of DuckDB for fast local processing: same target (one machine used well), but a DataFrame API rather than SQL first.
- Shares the Arrow foundation with DataFusion, another Rust engine.
- An alternative to pandas in Python pipelines, and to Spark when data fits on a large machine.
- Reads Parquet directly, locally or on an object store.
Sources
raw-data/ecosysteme/polars/polars.md- https://pola.rs/posts/i-wrote-one-of-the-fastest-dataframe-libraries/
- https://pola.rs/posts/company-announcement/
- https://pola.rs/posts/announcing-polars-1/
- https://pola.rs/posts/benchmarks/
- https://pola.rs/posts/series_a/
- https://pola.rs/posts/release-polars-2/
- https://docs.pola.rs/user-guide/lazy/optimizations/
- https://docs.pola.rs/releases/upgrade/2/
- https://buttondown.com/NotANumber/archive/interview-on-faster-than-pandas-polars-beginner/
- https://www.accel.com/news/polars-transforming-data-processing-on-modern-hardware
- https://techcrunch.com/2025/09/29/the-startup-behind-open-source-tool-polars-raises-21m-from-accel/ [S]
- Origin of the name (polar bear versus panda, "rs" suffix for Rust): only a secondary source, look for a statement by Ritchie Vink.
- Date of the first Python release and public launch date of Polars Cloud.
- The benchmarks cited are published by Polars itself: look for an independent comparison.