Polars

The compute engine for open data

Open-source, high-performance compute engine for Python, Rust and SQL. Install it in seconds and start transforming data on the machine you already have.

900M+ downloads + 40k+ GitHub stars

Benefits

Why developers choose Polars

Fast

A multi-threaded, vectorized query engine written in Rust, built for modern hardware and designed for effective parallelism.

Expressive

A declarative API that lets you state your intent. Polars handles execution order, parallelism, and optimization for you.

Polars pull requests on GitHub, 336 open and 15,248 closed, with the latest merged changes listed

Open source

Free forever under the MIT license, driven by an active community of contributors who help shape where Polars goes next.

Extensible

Extend Polars natively with your own I/O and Expression plugins, so custom logic runs at full speed instead of being bolted on top.

Performance

The fastest engine on a single machine

A parallel execution engine, SIMD vectorization, and a query optimizer that reorders your operations for you. This results in faster queries, on smaller machines, out of the box.

  • Polars
    34.63 sec
  • DuckDB 2.0
    42.12 sec
  • DataFusion
    78.04 sec
  • Pandas
    DNF
Try it

Write it your way: Python or SQL

View the docs(opens in a new tab)
import polars as pl
customers = pl.scan_iceberg(...)
query = (
pl.scan_iceberg(...)
.filter(pl.col("order_date").dt.year() == 2025)
.join(customers, on="customer_id")
.group_by("region")
.agg(
pl.col("revenue").sum(),
pl.len().alias("orders"),
)
.sort("revenue", descending=True)
)
print(query.collect())
Features

How Polars makes your life easier

Write queries your way. The optimizer finds the most efficient plan to run them.

Integrations

Switching to Polars doesn't mean
switching your stack too

Polars is built to work inside even the biggest of data ecosystems. It integrates with Apache Arrow, and can read from all popular file formats and data lakes, including Iceberg and Delta.

Databases
Cloud storage
Data formats
Catalog
IPC
Enterprise support

Help when it matters most

Enterprise Support goes beyond the open-source community, giving your organization priority support on every issue so your team can keep moving.

Learn more
Issue tracker with three Polars issues and their priority labels

Priority on critical bugs

If Polars runs your daily operations, critical bugs you hit get prioritized and resolved fast, cutting your downtime.

Slack thread in the Polars workspace where a Polars developer answers a question about memory use

Direct communication

Get a dedicated Slack or Teams channel with the Polars core team to discuss your questions and use cases.

  • Priority on the roadmap

    Feature requests from Enterprise Support customers get priority consideration against our roadmap.

  • Private consultations

    One-on-one sessions with core Polars developers: open discussion, or a deep dive into your specific use case.

  • Private release channel

    Access nightly builds with the newest features via pip install, no need to build or compile it yourself.

  • Training & coaching

    Get your whole team trained directly by the founders of Polars, from the basics to our newest plugins.

AI

Built for the agents you already run

Polars' structured code is exactly what AI reads and writes best. With the official Polars skill, your agents write idiomatic queries that run fast.

  • Claude Code
  • Codex
  • Copilot
  • Cursor
Testimonials

Testimonials

Community

Came for the speed,
stayed for the syntax

Community members5,000+
Contributors750+
Learn

Learn

Nanook
Code window where a Polars query runs remotely on a Nanook compute context with 16 GB of memory, 12 CPUs and a 32-node cluster
Polars Nanook

Scale beyond a single node

Polars Nanook is the compute platform built around Polars. Run the same code on one machine or across a cluster, see exactly how every query ran, and trace your data from source to result, all inside your own infrastructure.

Explore Nanook
FAQs

Frequently asked questions

Polars is open source and MIT-licensed, and it always will be. There's no paid tier of the library itself. Nanook is a separate compute platform for running Polars in production.