polars 1.39.3


pip install polars

  Latest version

Released: Mar 20, 2026


Meta
Author: Ritchie Vink
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Science/Research

License
  • OSI Approved :: MIT License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Rust

Topic
  • Scientific/Engineering

Typing
  • Typed

Polars logo

Documentation: Python - Rust - Node.js - R | StackOverflow: Python - Rust - Node.js - R | User guide | Discord

Polars: Extremely fast Query Engine for DataFrames, written in Rust

Polars is an analytical query engine written for DataFrames. It is designed to be fast, easy to use and expressive. Key features are:

  • Lazy | Eager execution
  • Streaming (larger-than-RAM datasets)
  • Query optimization
  • Multi-threaded
  • Written in Rust
  • SIMD
  • Powerful expression API
  • Front end in Python | Rust | NodeJS | R | SQL
  • Apache Arrow Columnar Format

To learn more, read the user guide.

Performance ๐Ÿš€๐Ÿš€

Blazingly fast

Polars is very fast. In fact, it is one of the best performing solutions available. See the PDS-H benchmarks results.

Lightweight

Polars is also very lightweight. It comes with zero required dependencies, and this shows in the import times:

  • polars: 70ms
  • numpy: 104ms
  • pandas: 520ms

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.

Setup

Python

Install the latest Polars version with:

pip install polars

See the User Guide for more details on optional dependencies

To see the current Polars version and a full list of its optional dependencies, run:

pl.show_versions()

Contributing

Want to contribute? Read our contributing guide.

Managed/Distributed Polars

Do you want a managed solution or scale out to distributed clusters? Consider our offering and help the project!

Python: compile Polars from source

If you want a bleeding edge release or maximal performance you should compile Polars from source.

This can be done by going through the following steps in sequence:

  1. Install the latest Rust compiler
  2. Install maturin: pip install maturin
  3. cd py-polars and choose one of the following:
    • make build, slow binary with debug assertions and symbols, fast compile times
    • make 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.

Using custom Rust functions in Python

Extending Polars with UDFs compiled in Rust is easy. We expose PyO3 extensions for DataFrame and Series data structures. See more in https://github.com/pola-rs/polars/tree/main/pyo3-polars.

Going big...

Do you expect more than 2^32 (~4.2 billion) rows? Compile Polars with the bigidx feature flag or, for Python users, install pip install polars[rt64].

Don't use this unless you hit the row boundary as the default build of Polars is faster and consumes less memory.

Legacy

Do you want Polars to run on an old CPU (e.g. dating from before 2011), or on an x86-64 build of Python on Apple Silicon under Rosetta? Install pip install polars[rtcompat]. This version of Polars is compiled without AVX target features.

1.39.3 Mar 20, 2026
1.39.2 Mar 17, 2026
1.39.0 Mar 12, 2026
1.38.1 Feb 06, 2026
1.38.0 Feb 04, 2026
1.37.1 Jan 12, 2026
1.37.0 Jan 10, 2026
1.36.1 Dec 10, 2025
1.36.0 Dec 08, 2025
1.36.0b2 Dec 02, 2025
1.36.0b1 Dec 01, 2025
1.35.2 Nov 09, 2025
1.35.1 Oct 30, 2025
1.35.0 Oct 26, 2025
1.35.0b1 Oct 19, 2025
1.34.0 Oct 02, 2025
1.34.0b5 Oct 01, 2025
1.34.0b4 Sep 28, 2025
1.34.0b3 Sep 27, 2025
1.34.0b2 Sep 26, 2025
1.34.0b1 Sep 23, 2025
1.33.1 Sep 09, 2025
1.33.0 Sep 01, 2025
1.33.0b1 Aug 28, 2025
1.32.3 Aug 14, 2025
1.32.2 Aug 07, 2025
1.32.1 Aug 06, 2025
1.32.0 Aug 01, 2025
1.32.0b1 Jul 26, 2025
1.31.0 Jun 18, 2025
1.31.0b1 Jun 14, 2025
1.30.0 May 21, 2025
1.30.0b1 May 16, 2025
1.29.0 Apr 30, 2025
1.28.1 Apr 27, 2025
1.28.0 Apr 26, 2025
1.27.1 Apr 11, 2025
1.27.0 Apr 09, 2025
1.26.0 Mar 23, 2025
1.25.2 Mar 15, 2025
1.25.1 Mar 15, 2025
1.25.0 Mar 14, 2025
1.24.0 Mar 02, 2025
1.23.0 Feb 23, 2025
1.22.0 Feb 08, 2025
1.21.0 Jan 24, 2025
1.20.0 Jan 16, 2025
1.19.0 Jan 03, 2025
1.18.0 Dec 24, 2024
1.17.1 Dec 09, 2024
1.17.0 Dec 08, 2024
1.16.0 Nov 29, 2024
1.15.0 Nov 25, 2024
1.14.0 Nov 17, 2024
1.13.1 Nov 13, 2024
1.13.0 Nov 12, 2024
1.12.0 Oct 27, 2024
1.11.0 Oct 23, 2024
1.10.0 Oct 20, 2024
1.9.0 Oct 01, 2024
1.8.2 Sep 24, 2024
1.8.1 Sep 23, 2024
1.8.0 Sep 23, 2024
1.7.1 Sep 12, 2024
1.7.0 Sep 11, 2024
1.6.0 Aug 28, 2024
1.5.0 Aug 14, 2024
1.4.1 Aug 04, 2024
1.4.0 Aug 02, 2024
1.3.0 Jul 28, 2024
1.2.1 Jul 18, 2024
1.2.0 Jul 16, 2024
1.1.0 Jul 07, 2024
1.0.0 Jul 01, 2024
1.0.0rc2 Jun 24, 2024
1.0.0rc1 Jun 23, 2024
1.0.0b1 Jun 17, 2024
1.0.0a1 Jun 11, 2024
0.20.31 Jun 01, 2024
0.20.30 May 26, 2024
0.20.29 May 23, 2024
0.20.28 May 22, 2024
0.20.27 May 21, 2024
0.20.26 May 14, 2024
0.20.25 May 08, 2024
0.20.24 May 07, 2024
0.20.23 Apr 28, 2024
0.20.22 Apr 21, 2024
0.20.22rc1 Apr 16, 2024
0.20.21 Apr 15, 2024
0.20.20 Apr 13, 2024
0.20.19 Apr 08, 2024
0.20.18 Apr 01, 2024
0.20.17 Mar 28, 2024
0.20.16 Mar 18, 2024
0.20.16rc1 Mar 14, 2024
0.20.15 Mar 10, 2024
0.20.14 Mar 07, 2024
0.20.13 Feb 29, 2024
0.20.10 Feb 19, 2024
0.20.9 Feb 16, 2024
0.20.8 Feb 14, 2024
0.20.7 Feb 04, 2024
0.20.6 Jan 26, 2024
0.20.6rc1 Jan 22, 2024
0.20.5 Jan 17, 2024
0.20.4 Jan 12, 2024
0.20.3 Jan 02, 2024
0.20.3rc2 Dec 28, 2023
0.20.3rc1 Dec 28, 2023
0.20.2 Dec 20, 2023
0.20.1 Dec 18, 2023
0.20.0 Dec 16, 2023
0.19.19 Dec 01, 2023
0.19.18 Nov 29, 2023
0.19.17 Nov 27, 2023
0.19.16 Nov 25, 2023
0.19.15 Nov 20, 2023
0.19.14 Nov 17, 2023
0.19.13 Nov 10, 2023
0.19.13rc1 Nov 01, 2023
0.19.12 Oct 28, 2023
0.19.12rc1 Oct 24, 2023
0.19.11 Oct 22, 2023
0.19.10 Oct 20, 2023
0.19.9 Oct 17, 2023
0.19.8 Oct 10, 2023
0.19.7 Oct 04, 2023
0.19.6 Sep 29, 2023
0.19.5 Sep 27, 2023
0.19.4 Sep 27, 2023
0.19.3 Sep 15, 2023
0.19.2 Sep 05, 2023
0.19.1 Sep 01, 2023
0.19.0 Aug 30, 2023
0.18.15 Aug 15, 2023
0.18.14 Aug 14, 2023
0.18.13 Aug 07, 2023
0.18.12 Aug 04, 2023
0.18.11 Aug 01, 2023
0.18.10 Jul 31, 2023
0.18.9 Jul 28, 2023
0.18.8 Jul 20, 2023
0.18.7 Jul 12, 2023
0.18.6 Jul 06, 2023
0.18.5 Jul 05, 2023
0.18.4 Jun 23, 2023
0.18.3 Jun 16, 2023
0.18.2 Jun 09, 2023
0.18.1 Jun 07, 2023
0.18.0 May 29, 2023
0.17.15 May 23, 2023
0.17.14 May 16, 2023
0.17.13 May 12, 2023
0.17.12 May 05, 2023
0.17.11 May 01, 2023
0.17.10 Apr 30, 2023
0.17.9 Apr 25, 2023
0.17.8 Apr 24, 2023
0.17.7 Apr 22, 2023
0.17.6 Apr 21, 2023
0.17.5 Apr 17, 2023
0.17.4 Apr 17, 2023
0.17.3 Apr 15, 2023
0.17.2 Apr 11, 2023
0.17.1 Apr 10, 2023
0.17.0 Apr 07, 2023
0.16.18 Apr 03, 2023
0.16.17 Mar 31, 2023
0.16.16 Mar 25, 2023
0.16.15 Mar 24, 2023
0.16.14 Mar 17, 2023
0.16.13 Mar 13, 2023
0.16.12 Mar 10, 2023
0.16.11 Mar 05, 2023
0.16.10 Mar 03, 2023
0.16.9 Feb 26, 2023
0.16.8 Feb 22, 2023
0.16.7 Feb 19, 2023
0.16.6 Feb 16, 2023
0.16.5 Feb 14, 2023
0.16.4 Feb 11, 2023
0.16.3 Feb 10, 2023
0.16.2 Feb 02, 2023
0.16.1 Jan 29, 2023
0.15.18 Jan 26, 2023
0.15.17 Jan 25, 2023
0.15.16 Jan 20, 2023
0.15.15 Jan 15, 2023
0.15.14 Jan 08, 2023
0.15.13 Jan 05, 2023
0.15.11 Jan 02, 2023
0.15.10 Jan 01, 2023
0.15.9 Dec 30, 2022
0.15.8 Dec 22, 2022
0.15.7 Dec 18, 2022
0.15.6 Dec 13, 2022
0.15.5 Dec 12, 2022
0.15.4 Dec 12, 2022
0.15.3 Dec 12, 2022
0.15.2 Dec 02, 2022
0.15.1 Nov 26, 2022
0.15.0 Nov 25, 2022
0.14.31 Nov 22, 2022
0.14.30 Nov 22, 2022
0.14.29 Nov 18, 2022
0.14.28 Nov 14, 2022
0.14.27 Nov 11, 2022
0.14.26 Nov 06, 2022
0.14.25 Nov 02, 2022
0.14.24 Oct 27, 2022
0.14.23 Oct 24, 2022
0.14.21 Oct 18, 2022
0.14.20 Oct 17, 2022
0.14.19 Oct 15, 2022
0.14.18 Oct 05, 2022
0.14.17 Oct 03, 2022
0.14.15 Sep 30, 2022
0.14.14 Sep 25, 2022
0.14.13 Sep 23, 2022
0.14.12 Sep 18, 2022
0.14.11 Sep 13, 2022
0.14.10 Sep 08, 2022
0.14.9 Sep 05, 2022
0.14.8 Sep 01, 2022
0.14.6 Aug 29, 2022
0.14.5 Aug 23, 2022
0.14.4 Aug 22, 2022
0.14.2 Aug 17, 2022
0.14.1 Aug 14, 2022
0.14.0 Aug 09, 2022
0.13.62 Aug 06, 2022
0.13.61 Aug 04, 2022
0.13.59 Jul 31, 2022
0.13.58 Jul 25, 2022
0.13.57 Jul 24, 2022
0.13.56 Jul 22, 2022
0.13.55 Jul 17, 2022
0.13.54 Jul 15, 2022
0.13.53 Jul 14, 2022
0.13.52 Jul 09, 2022
0.13.51 Jun 29, 2022
0.13.50 Jun 24, 2022
0.13.49 Jun 20, 2022
0.13.48 Jun 19, 2022
0.13.47 Jun 18, 2022
0.13.46 Jun 13, 2022
0.13.45 Jun 12, 2022
0.13.44 Jun 07, 2022
0.13.43 Jun 06, 2022
0.13.42 Jun 05, 2022
0.13.41 Jun 04, 2022
0.13.40 May 30, 2022
0.13.39 May 27, 2022
0.13.38 May 22, 2022
0.13.37 May 18, 2022
0.13.36 May 16, 2022
0.13.35 May 16, 2022
0.13.34 May 13, 2022
0.13.33 May 13, 2022
0.13.32 May 12, 2022
0.13.31 May 08, 2022
0.13.29 May 03, 2022
0.13.25 Apr 23, 2022
0.13.24 Apr 21, 2022
0.13.23 Apr 15, 2022
0.13.22 Apr 12, 2022
0.13.21 Apr 11, 2022
0.13.19 Apr 07, 2022
0.13.18 Apr 03, 2022
0.13.17 Apr 01, 2022
0.13.16 Mar 30, 2022
0.13.15 Mar 24, 2022
0.13.14 Mar 23, 2022
0.13.13 Mar 20, 2022
0.13.12 Mar 16, 2022
0.13.11 Mar 12, 2022
0.13.10 Mar 08, 2022
0.13.8 Mar 02, 2022
0.13.7 Feb 27, 2022
0.13.6 Feb 24, 2022
0.13.5 Feb 22, 2022
0.13.4 Feb 18, 2022
0.13.3 Feb 16, 2022
0.13.2 Feb 16, 2022
0.13.1 Feb 13, 2022
0.13.0 Feb 11, 2022
0.12.24 Feb 11, 2022
0.12.23 Feb 09, 2022
0.12.22 Feb 06, 2022
0.12.21 Feb 04, 2022
0.12.20 Feb 02, 2022
0.12.19 Jan 30, 2022
0.12.18 Jan 29, 2022
0.12.17 Jan 25, 2022
0.12.16 Jan 24, 2022
0.12.15 Jan 22, 2022
0.12.14 Jan 22, 2022
0.12.13 Jan 16, 2022
0.12.12 Jan 15, 2022
0.12.11 Jan 14, 2022
0.12.10 Jan 10, 2022
0.12.9 Jan 07, 2022
0.12.8 Jan 02, 2022
0.12.7 Dec 30, 2021
0.12.6 Dec 29, 2021
0.12.5 Dec 27, 2021
0.12.4 Dec 23, 2021
0.12.3 Dec 23, 2021
0.12.2 Dec 20, 2021
0.12.1 Dec 19, 2021
0.12.0 Dec 18, 2021
0.11.1 Dec 17, 2021
0.11.0 Dec 13, 2021
0.10.27 Dec 06, 2021
0.10.26 Dec 03, 2021
0.10.25 Nov 28, 2021
0.10.24 Nov 25, 2021
0.10.23 Nov 21, 2021
0.10.22 Nov 18, 2021
0.10.21 Nov 16, 2021
0.10.20 Nov 15, 2021
0.10.19 Nov 12, 2021
0.10.18 Nov 09, 2021
0.10.17 Nov 08, 2021
0.10.16 Nov 05, 2021
0.10.15 Nov 02, 2021
0.10.14 Nov 01, 2021
0.10.13 Oct 31, 2021
0.10.12 Oct 29, 2021
0.10.11 Oct 29, 2021
0.10.10 Oct 28, 2021
0.10.9 Oct 27, 2021
0.10.8 Oct 22, 2021
0.10.7 Oct 20, 2021
0.10.6 Oct 19, 2021
0.10.5 Oct 15, 2021
0.10.4 Oct 15, 2021
0.10.3 Oct 10, 2021
0.10.2 Oct 10, 2021
0.10.1 Oct 08, 2021
0.10.0 Oct 08, 2021
0.9.12 Sep 27, 2021
0.9.11 Sep 24, 2021
0.9.10 Sep 22, 2021
0.9.9 Sep 19, 2021
0.9.8 Sep 18, 2021
0.9.7 Sep 16, 2021
0.9.6 Sep 15, 2021
0.9.6b1 Sep 13, 2021
0.9.5 Sep 10, 2021
0.9.5b1 Sep 10, 2021
0.9.4 Sep 10, 2021
0.9.3 Sep 04, 2021
0.9.3b1 Sep 03, 2021
0.9.2 Sep 03, 2021
0.9.1 Aug 31, 2021
0.9.0 Aug 31, 2021
0.9.0b2 Aug 30, 2021
0.9.0b1 Aug 30, 2021
0.8.29 Aug 27, 2021
0.8.28 Aug 26, 2021
0.8.27 Aug 26, 2021
0.8.27b2 Aug 25, 2021
0.8.27b1 Aug 23, 2021
0.8.26 Aug 21, 2021
0.8.25 Aug 20, 2021
0.8.24 Aug 20, 2021
0.8.23 Aug 18, 2021
0.8.22 Aug 17, 2021
0.8.22b1 Aug 16, 2021
0.8.21 Aug 13, 2021
0.8.21b2 Aug 12, 2021
0.8.21b1 Aug 12, 2021
0.8.20 Aug 07, 2021
0.8.19 Aug 06, 2021
0.8.18 Aug 05, 2021
0.8.17 Aug 03, 2021
0.8.16 Aug 02, 2021
0.8.15 Jul 30, 2021
0.8.15b1 Jul 27, 2021
0.8.14 Jul 26, 2021
0.8.13b1 Jul 21, 2021
0.8.12 Jul 15, 2021
0.8.11 Jul 14, 2021
0.8.11b1 Jul 13, 2021
0.8.10 Jul 09, 2021
0.8.9 Jul 02, 2021
0.8.8 Jun 26, 2021
0.8.6 Jun 17, 2021
0.8.5 Jun 11, 2021
0.8.4 Jun 09, 2021
0.8.3 Jun 05, 2021
0.8.2 Jun 03, 2021
0.8.1 Jun 03, 2021
0.8.0 Jun 03, 2021
0.8.0b2 Jun 02, 2021
0.8.0b1 Jun 01, 2021
0.7.19 May 27, 2021
0.7.18 May 23, 2021
0.7.17 May 21, 2021
0.7.16 May 14, 2021
0.7.15 May 10, 2021
0.7.14 May 08, 2021
0.7.13 May 07, 2021
0.7.12 May 01, 2021
0.7.11 Apr 30, 2021
0.7.10b1 Apr 28, 2021
0.7.9 Apr 25, 2021
0.7.8 Apr 24, 2021
0.7.7 Apr 18, 2021
0.7.6 Apr 11, 2021
0.7.6b2 Apr 10, 2021
0.7.6b1 Apr 09, 2021
0.7.5 Apr 08, 2021
0.7.4 Apr 04, 2021
0.7.3 Mar 28, 2021
0.0.1 Mar 15, 2021

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
polars-runtime-32 (==1.39.3)