Discover / Data & Research
Polars Fast DataFrames Engine
by pola-rsRust
Blazingly fast DataFrames library implemented in Rust with Apache Arrow memory model.
Maturity: stable because 6y old, py-1.43.1 released 7d ago. Derived from release and commit history, not a rating.
- Stars
- 39k
- Forks
- 3.0k
- Downloads / mo
- 67.9M
- Last commit
- 2026-08-01
- License
- MIT
- Open issues
- 2.9k
Market and trust evidence
Edition not yet matchedNo exact skills.sh identity match is available for this repository. Repository adoption and freshness remain visible above; install momentum is not inferred.
Trust analysis is a screening signal, not a security warranty. Read the ranking and trust methodology.
In practice
Written by AI from this repository’s README · high confidenceSingle threaded DataFrame code stalls on large data and runs out of memory before the query finishes.
Use it when
When you need multi threaded, optimized DataFrame queries, including data sets that do not fit into memory.
Not the right pick when
The README flags special installation paths for very old CPUs and for more than roughly 4.2 billion rows.
Capabilities
- multi threaded, vectorized SIMD execution
- lazy and eager execution with query optimization out of the box
- streaming engine for larger than RAM data sets
- bindings for Python, Rust, Node.js, R and SQL
- optional NVIDIA GPU acceleration
- Apache Arrow columnar format for zero copy data sharing
Cost: Free and open source
Install
Derived from the published package name in the repository, not from a model.
Video walkthroughs
Build AI-Powered Technical Presentations in Minutes | Live Demo: Pandas vs Polars vs PySpark
Query Profiling in Polars
Third-party YouTube uploads matched to this tool by title, channel and repository name on 2026-08-03. Not made, reviewed or endorsed by SkillPilot. View counts and publish months are as of the match date and the month is approximate. Nothing loads from YouTube until you press play.
What the repository ships
Detected from the actual files in the repository root.
Latest release py-1.43.1
Published 2026-07-27
🚀 Performance improvements
- Optimize not(bool\_f) to not\_bool\_f (#28474)
✨ Enhancements
- Allow callback sinks on cloud (#28458)
🐞 Bug fixes
- Fix panic on self join of scan\_delta / scan\_iceberg (#28468)
- Fix UB on first/last\_non\_null with empty chunk (#28495)
- Do not CSE non-column height expr on streaming engine (#28480)
- Propagate adjusted sortedness through Gather (#28493)
- Deduplicate the expression equality checks (#28483)
- Address 3VL issue with SQL
NOT INinteraction withNULLvalues and joins (#28484) - Use total comparison in Expr literal values (#28482)
- Ensure SQL
SUMandCORRaggregates return NULL for all-null inputs, addTOTAL(#28475) - Share
null_count_dtypehelper between Delta and Iceberg, fixingSchemaError(#28479) - Remove non-output columns from the equi-join and semi/anti-join operators (#28446)
- Fix dropped slice on multiple unions (#28477)
- Fix in-memory engine incorrect slice on maintain order join (#28478)
- Check join schema by position (#28455)
- Block predicate pushdown past overwritten window keys (#28429)
📖 Documentation
- Update and restructure README (#28490)
- Minor fixes to Spark migration guide (#27730)
- Relocate Polars Cloud \& On-Prem User Guide (#28462)
- Add notes on k8s operator (#28445)
🛠️ Other improvements
- Make hive\_part extraction a function and public (#28507)
- Deduplicate the expression equality checks (#28483)
- Bump
ruffandmypypackage versions (#28456) - Fix flaky test (#28454)
Thank you to all our contributors for making this release possible!
@AnirudhRahul, @EndPositive, @Jesse-Bakker, @alexander-beedie, @carnarez, @dancsi, @mdroogh, @mroeschke, @nameexhaustion, @nchammas, @orlp, @r-brink and @ritchie46
Tags
README
<h1 align="center">
<a href="https://pola.rs">
<img src="https://raw.githubusercontent.com/pola-rs/polars-static/master/banner/polars_github_banner.svg" alt="Polars logo">
</a>
</h1>
<div align="center">
<a href="https://crates.io/crates/polars">
<img src="https://img.shields.io/crates/v/polars.svg" alt="crates.io Latest Release"/>
</a>
<a href="https://pypi.org/project/polars/">
<img src="https://img.shields.io/pypi/v/polars.svg" alt="PyPi Latest Release"/>
</a>
<a href="https://www.npmjs.com/package/nodejs-polars">
<img src="https://img.shields.io/npm/v/nodejs-polars.svg" alt="NPM Latest Release"/>
</a>
<a href="https://community.r-multiverse.org/polars">
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fcommunity.r-multiverse.org%2Fapi%2Fpackages%2Fpolars&query=%24.Version&label=r-multiverse" alt="R-multiverse Latest Release"/>
</a>
<a href="https://doi.org/10.5281/zenodo.7697217">
<img src="https://zenodo.org/badge/DOI/10.5281/zenodo.7697217.svg" alt="DOI Latest Release"/>
</a>
</div>
<p align="center">
<b>Documentation</b>:
<a href="https://docs.pola.rs/api/python/stable/reference/index.html">Python</a>
-
<a href="https://docs.rs/polars/latest/polars/">Rust</a>
-
<a href="https://pola-rs.github.io/nodejs-polars/index.html">Node.js</a>
-
<a href="https://pola-rs.github.io/r-polars/index.html">R</a>
|
<b>Agents</b>:
<a href="https://github.com/polars-inc/skills/tree/main/polars">Skill</a>
-
<a href="https://docs.pola.rs/user-guide/misc/polars_llms/">MCP</a>
|
<a href="https://docs.pola.rs/">User guide</a>
|
<a href="https://discord.gg/4UfP5cfBE7">Discord</a>
</p>
Polars: Extremely fast Query Engine for DataFrames
Polars is an analytical query engine for DataFrames, written in Rust. It is designed to be fast,
easy to use and expressive. Key features are:
- Fast: written from the ground up in Rust with multi-threaded, vectorized (SIMD) execution
- Lazy & eager execution: with query optimization out of the box
- Larger-than-RAM: the streaming engine processes datasets that don't fit in memory
- Expressive API: compose complex queries with powerful expressions
- Extensible: extend Polars natively with custom code through
- Multi-language: bindings for Python, Rust, Node.js, R, and SQL
- GPU support: optionally accelerate queries on NVIDIA GPUs
- Interoperable: uses the
Apache Arrow Columnar Format for zero-copy
data sharing
To learn more, read the user guide.
Polars in action
Queries are composed from expressions. This lazy query gets optimized out of the box and runs in
parallel across all available cores:
import polars as pl
df = (
pl.scan_parquet("orders.parquet")
.filter(pl.col("status") == "shipped")
.group_by("customer_id")
.agg(
pl.col("amount").sum().alias("total"),
pl.len().alias("n_orders"),
)
.sort("total", descending=True)
.collect()
)
Performance
Polars is very fast. In fact, it is one of the best performing Dataframe solutions available. See
the PDS-H benchmarks results.
Handles larger-than-RAM data
If you have data that does not fit into memory, Polars' query engine is able to process your query
(or parts of your query) in a streaming fashion. This drastically reduces memory requirements, so
you might be able to process your 250GB dataset on your laptop. Collect with
collect(engine='streaming') to run the query streaming.
Installation
Python
Install the latest Polars version with:
pip install polars
See the User Guide for more details
on optional dependencies
<details>
<summary><b>Compile Polars from source</b></summary>
If you want a bleeding edge release you should compile Polars from source. Advanced users can also
compile for maximum performance for their architecture.
This can be done by going through the following steps in sequence:
- Install the latest Rust compiler
- Install maturin:
pip install maturin cd py-polarsand choose one of the following:
make build, slow binary with debug assertions and limited symbols, fast compile timesmake build-debug, same asmake build, but with all symbols, produces large binariesmake build-release, fast binary without debug assertions, minimal debug symbols, long compile
times
make build-nodebug-release, same as build-release but without any debug symbols, slightly
faster to compile
make build-debug-release, same as build-release but with full debug symbols, slightly slower
to compile
make build-dist-release, fastest binary, extreme compile times
By default the binary is compiled with optimizations turned on for a modern CPU. Specify LTS_CPU=1
with the command if your CPU is older and does not support e.g. AVX2.
Note that the Rust crate implementing the Python bindings is called py-polars to distinguish from
the wrapped Rust crate polars itself. However, both the Python package and the Python module are
named polars, so you can pip install polars and import polars.
</details>
Check the Installation guide for more advanced
installations. For example when you expect more than 2^32 (~4.2 billion) rows, run on an old CPU
(e.g. dating from before 2011), or on an x86-64 build of Python on Apple Silicon under Rosetta.
Contributing
Want to contribute? Read our contributing guide
and check the issue tracker for accepted issues.
Contributors new to the codebase can look for the good first issue label to get familiar with the
project.
You can join the Polars Discord server for any help along the way.
Distributed Polars
Running into hardware limitations executing your queries? Read how you can
horizontally scale your Polars query on a cluster.
License
Polars is licensed under the MIT License (SPDX: MIT).