polars
1.9.0
1.8.2
1.8.1
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.43.1
1.43.0
1.42.1
1.42.0
1.41.2
1.41.1
1.41.0
1.40.1
1.40.0
1.4.1
1.4.0
1.39.3
1.39.2
1.39.0
1.38.1
1.38.0
1.37.1
1.37.0
1.36.1
1.36.0b2
1.36.0b1
1.36.0
1.35.2
1.35.1
1.35.0b1
1.35.0
1.34.0b5
1.34.0b4
1.34.0b3
1.34.0b2
1.34.0b1
1.34.0
1.33.1
1.33.0b1
1.33.0
1.32.3
1.32.2
1.32.1
1.32.0b1
1.32.0
1.31.0b1
1.31.0
1.30.0b1
1.30.0
1.3.0
1.29.0
1.28.1
1.28.0
1.27.1
1.27.0
1.26.0
1.25.2
1.25.1
1.25.0
1.24.0
1.23.0
1.22.0
1.21.0
1.20.0
1.2.1
1.2.0
1.19.0
1.18.0
1.17.1
1.17.0
1.16.0
1.15.0
1.14.0
1.13.1
1.13.0
1.12.0
1.11.0
1.10.0
1.1.0
1.0.0rc2
1.0.0rc1
1.0.0b1
1.0.0a1
1.0.0
0.9.9
0.9.8
0.9.7
0.9.6_beta.1
0.9.6
0.9.5_beta.1
0.9.5
0.9.4
0.9.3_beta.1
0.9.3
0.9.2
0.9.12
0.9.11
0.9.10
0.9.1
0.9.0_beta.2
0.9.0_beta.1
0.9.0
0.8.9
0.8.8
0.8.6
0.8.5
0.8.4
0.8.3
0.8.29
0.8.28
0.8.27_beta.2
0.8.27_beta.1
0.8.27
0.8.26
0.8.25
0.8.24
0.8.23
0.8.22_beta.1
0.8.22
0.8.21_beta.2
0.8.21_beta.1
0.8.21
0.8.20
0.8.2
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15_beta.1
0.8.15
0.8.14
0.8.13_beta.1
0.8.12
0.8.11_beta.1
0.8.11
0.8.10
0.8.1
0.8.0_beta.2
0.8.0_beta.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.6_beta.2
0.7.6_beta.1
0.7.6
0.7.5
0.7.4
0.7.3
0.7.19
0.7.18
0.7.17
0.7.16
0.7.15
0.7.14
0.7.13
0.7.12
0.7.11
0.7.10_beta.1
0.20.9
0.20.8
0.20.7
0.20.6rc1
0.20.6
0.20.5
0.20.4
0.20.3rc2
0.20.3rc1
0.20.31
0.20.30
0.20.3
0.20.29
0.20.28
0.20.27
0.20.26
0.20.25
0.20.24
0.20.23
0.20.22rc1
0.20.22
0.20.21
0.20.20
0.20.2
0.20.19
0.20.18
0.20.17
0.20.16rc1
0.20.16
0.20.15
0.20.14
0.20.13
0.20.10
0.20.1
0.20.0
0.19.9
0.19.8
0.19.7
0.19.6
0.19.5
0.19.4
0.19.3
0.19.2
0.19.19
0.19.18
0.19.17
0.19.16
0.19.15
0.19.14
0.19.13rc1
0.19.13
0.19.12rc1
0.19.12
0.19.11
0.19.10
0.19.1
0.19.0
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.18.3
0.18.2
0.18.15
0.18.14
0.18.13
0.18.12
0.18.11
0.18.10
0.18.1
0.18.0
0.17.9
0.17.8
0.17.7
0.17.6
0.17.5
0.17.4
0.17.3
0.17.2
0.17.15
0.17.14
0.17.13
0.17.12
0.17.11
0.17.10
0.17.1
0.17.0
0.16.9
0.16.8
0.16.7
0.16.6
0.16.5
0.16.4
0.16.3
0.16.2
0.16.18
0.16.17
0.16.16
0.16.15
0.16.14
0.16.13
0.16.12
0.16.11
0.16.10
0.16.1
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.18
0.15.17
0.15.16
0.15.15
0.15.14
0.15.13
0.15.11
0.15.10
0.15.1
0.15.0
0.14.9
0.14.8
0.14.6
0.14.5
0.14.4
0.14.31
0.14.30
0.14.29
0.14.28
0.14.27
0.14.26
0.14.25
0.14.24
0.14.23
0.14.21
0.14.20
0.14.2
0.14.19
0.14.18
0.14.17
0.14.15
0.14.14
0.14.13
0.14.12
0.14.11
0.14.10
0.14.1
0.14.0
0.13.8
0.13.7
0.13.62
0.13.61
0.13.6
0.13.59
0.13.58
0.13.57
0.13.56
0.13.55
0.13.54
0.13.53
0.13.52
0.13.51
0.13.50
0.13.5
0.13.49
0.13.48
0.13.47
0.13.46
0.13.45
0.13.44
0.13.43
0.13.42
0.13.41
0.13.40
0.13.4
0.13.39
0.13.38
0.13.37
0.13.36
0.13.35
0.13.34
0.13.33
0.13.32
0.13.31
0.13.3
0.13.29
0.13.25
0.13.24
0.13.23
0.13.22
0.13.21
0.13.2
0.13.19
0.13.18
0.13.17
0.13.16
0.13.15
0.13.14
0.13.13
0.13.12
0.13.11
0.13.10
0.13.1
0.13.0
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.24
0.12.23
0.12.22
0.12.21
0.12.20
0.12.2
0.12.19
0.12.18
0.12.17
0.12.16
0.12.15
0.12.14
0.12.13
0.12.12
0.12.11
0.12.10
0.12.1
0.12.0
0.11.1
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.27
0.10.26
0.10.25
0.10.24
0.10.23
0.10.22
0.10.21
0.10.20
0.10.2
0.10.19
0.10.18
0.10.17
0.10.16
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.1
0.10.0
0.0.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.43.1
1.43.0
1.42.1
1.42.0
1.41.2
1.41.1
1.41.0
1.40.1
1.40.0
1.4.1
1.4.0
1.39.3
1.39.2
1.39.0
1.38.1
1.38.0
1.37.1
1.37.0
1.36.1
1.36.0b2
1.36.0b1
1.36.0
1.35.2
1.35.1
1.35.0b1
1.35.0
1.34.0b5
1.34.0b4
1.34.0b3
1.34.0b2
1.34.0b1
1.34.0
1.33.1
1.33.0b1
1.33.0
1.32.3
1.32.2
1.32.1
1.32.0b1
1.32.0
1.31.0b1
1.31.0
1.30.0b1
1.30.0
1.3.0
1.29.0
1.28.1
1.28.0
1.27.1
1.27.0
1.26.0
1.25.2
1.25.0
1.24.0
1.23.0
1.22.0
1.21.0
1.20.0
1.2.1
1.2.0
1.19.0
1.18.0
1.17.1
1.17.0
1.16.0
1.15.0
1.14.0
1.13.1
1.13.0
1.12.0
1.11.0
1.10.0
1.1.0
1.0.0rc2
1.0.0rc1
1.0.0b1
1.0.0a1
1.0.0
0.9.9
0.9.8
0.9.7
0.9.6_beta.1
0.9.6
0.9.5_beta.1
0.9.5
0.9.4
0.9.3_beta.1
0.9.3
0.9.2
0.9.12
0.9.11
0.9.10
0.9.1
0.9.0_beta.2
0.9.0_beta.1
0.9.0
0.8.29
0.8.28
0.8.27_beta.2
0.8.27_beta.1
0.8.27
0.8.26
0.8.25
0.8.24
0.8.23
0.8.22_beta.1
0.8.22
0.8.21_beta.2
0.8.21_beta.1
0.8.21
0.8.20
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15_beta.1
0.8.15
0.8.14
0.8.13_beta.1
0.8.12
0.8.11_beta.1
0.8.11
0.8.10
0.20.9
0.20.8
0.20.7
0.20.6rc1
0.20.6
0.20.5
0.20.4
0.20.3rc2
0.20.3rc1
0.20.31
0.20.30
0.20.3
0.20.29
0.20.28
0.20.27
0.20.26
0.20.25
0.20.24
0.20.23
0.20.22rc1
0.20.22
0.20.21
0.20.20
0.20.2
0.20.19
0.20.18
0.20.17
0.20.16rc1
0.20.16
0.20.15
0.20.14
0.20.13
0.20.10
0.20.1
0.20.0
0.19.9
0.19.8
0.19.7
0.19.6
0.19.5
0.19.4
0.19.3
0.19.2
0.19.19
0.19.18
0.19.17
0.19.16
0.19.15
0.19.14
0.19.13rc1
0.19.13
0.19.12rc1
0.19.12
0.19.11
0.19.10
0.19.1
0.19.0
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.18.3
0.18.2
0.18.15
0.18.14
0.18.13
0.18.12
0.18.11
0.18.10
0.18.1
0.18.0
0.17.9
0.17.8
0.17.7
0.17.6
0.17.5
0.17.4
0.17.3
0.17.2
0.17.15
0.17.14
0.17.13
0.17.12
0.17.11
0.17.10
0.17.1
0.17.0
0.16.9
0.16.8
0.16.7
0.16.6
0.16.5
0.16.4
0.16.3
0.16.2
0.16.18
0.16.17
0.16.16
0.16.15
0.16.14
0.16.13
0.16.12
0.16.11
0.16.10
0.16.1
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.18
0.15.17
0.15.16
0.15.15
0.15.14
0.15.13
0.15.11
0.15.10
0.15.1
0.15.0
0.14.9
0.14.8
0.14.6
0.14.5
0.14.31
0.14.29
0.14.28
0.14.27
0.14.26
0.14.25
0.14.24
0.14.23
0.14.21
0.14.20
0.14.2
0.14.19
0.14.18
0.14.17
0.14.15
0.14.14
0.14.13
0.14.12
0.14.11
0.14.10
0.14.1
0.14.0
0.13.8
0.13.7
0.13.62
0.13.61
0.13.6
0.13.59
0.13.58
0.13.57
0.13.56
0.13.55
0.13.54
0.13.53
0.13.52
0.13.51
0.13.50
0.13.5
0.13.49
0.13.48
0.13.47
0.13.46
0.13.45
0.13.44
0.13.43
0.13.42
0.13.41
0.13.40
0.13.4
0.13.39
0.13.38
0.13.37
0.13.36
0.13.35
0.13.34
0.13.33
0.13.32
0.13.31
0.13.3
0.13.29
0.13.25
0.13.24
0.13.23
0.13.22
0.13.21
0.13.2
0.13.19
0.13.18
0.13.17
0.13.16
0.13.15
0.13.14
0.13.13
0.13.12
0.13.11
0.13.10
0.13.1
0.13.0
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.24
0.12.23
0.12.22
0.12.21
0.12.20
0.12.2
0.12.19
0.12.18
0.12.17
0.12.16
0.12.15
0.12.14
0.12.13
0.12.12
0.12.11
0.12.10
0.12.1
0.12.0
0.11.1
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.27
0.10.26
0.10.25
0.10.24
0.10.23
0.10.22
0.10.21
0.10.20
0.10.2
0.10.19
0.10.18
0.10.17
0.10.16
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.1
0.10.0
توضیحات
Blazingly fast DataFrame library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | polars-1.9.0 |
| نام | polars |
| نسخه کتابخانه | 1.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Ritchie Vink <ritchie46@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/polars/ |
| مجوز | Copyright (c) 2025 Ritchie Vink Copyright (c) 2024 (Some portions) NVIDIA CORPORATION & AFFILIATES. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
<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
[I/O and Expression plugins](https://docs.pola.rs/user-guide/plugins/)
- **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](https://arrow.apache.org/docs/format/Columnar.html) for zero-copy
data sharing
To learn more, read the [user guide](https://docs.pola.rs/).
## 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:
```python
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](https://www.pola.rs/benchmarks.html) 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:
```sh
pip install polars
```
See the [User Guide](https://docs.pola.rs/user-guide/installation/#feature-flags) 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:
1. Install the latest [Rust compiler](https://www.rust-lang.org/tools/install)
2. Install [maturin](https://maturin.rs/): `pip install maturin`
3. `cd py-polars` and choose one of the following:
- `make build`, slow binary with debug assertions and limited symbols, fast compile times
- `make build-debug`, same as `make build`, but with all symbols, produces large binaries
- `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`.
</details>
Check the [Installation guide](https://docs.pola.rs/user-guide/installation/) 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](https://docs.pola.rs/development/contributing/)
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](https://discord.gg/4UfP5cfBE7) 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](https://docs.pola.rs/polars-cloud/).
## License
Polars is licensed under the [MIT License](LICENSE) (SPDX: `MIT`).
نیازمندی
| مقدار | نام |
|---|---|
| - | polars-runtime-32==1.43.1 |
| xtr | polars-runtime-64==1.43.1; |
| xtr | polars-runtime-compat==1.43.1; |
| xtr | polars_cloud>=0.4.0; |
| xtr | numpy>=1.16.0; |
| xtr | pandas; |
| xtr | polars[pyarrow]; |
| xtr | pyarrow>=7.0.0; |
| xtr | pydantic; |
| xtr | fastexcel>=0.9; |
| xtr | openpyxl>=3.0.0; |
| xtr | xlsx2csv>=0.8.0; |
| xtr | xlsxwriter; |
| xtr | polars[calamine,openpyxl,xlsx2csv,xlsxwriter]; |
| xtr | adbc-driver-manager[dbapi]; |
| xtr | adbc-driver-sqlite[dbapi]; |
| xtr | connectorx>=0.3.2; |
| xtr | sqlalchemy; |
| xtr | polars[pandas]; |
| xtr | polars[adbc,connectorx,sqlalchemy]; |
| xtr | fsspec; |
| xtr | deltalake!=1.5.*,>=1.0.0; |
| xtr | pyiceberg>=0.7.1; |
| xtr | gevent; |
| xtr | cloudpickle; |
| xtr | matplotlib; |
| xtr | altair>=5.4.0; |
| xtr | great-tables>=0.8.0; |
| latform_syste | tzdata; |
| xtr | cudf-polars-cu12; |
| xtr | polars[async,cloudpickle,database,deltalake,excel,fsspec,graph,iceberg,numpy,pandas,plot,pyarrow,pydantic,style,timezone]; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl polars-1.9.0:
pip install polars.whl
نصب پکیج tar.gz polars-1.9.0:
pip install polars.tar.gz