ppc64le/linux/: polars-1.44.2 metadata and description

Simple index

Blazingly fast DataFrame library

author_email Ritchie Vink <[email protected]>
classifiers
  • Development Status :: 5 - Production/Stable
  • Environment :: Console
  • Intended Audience :: Science/Research
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Rust
  • Topic :: Scientific/Engineering
  • Typing :: Typed
  • Environment :: MetaData :: IBM Python Ecosystem
description_content_type text/markdown
dynamic
  • license-file
keywords dataframe,arrow,out-of-core
license 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.
license_file
  • LICENSE
project_urls
  • Homepage, https://www.pola.rs/
  • Documentation, https://docs.pola.rs/api/python/stable/reference/index.html
  • Repository, https://github.com/pola-rs/polars
  • Changelog, https://github.com/pola-rs/polars/releases
provides_extras
  • rt64
  • rtcompat
  • polars-cloud
  • numpy
  • pandas
  • pyarrow
  • pydantic
  • calamine
  • openpyxl
  • xlsx2csv
  • xlsxwriter
  • excel
  • adbc
  • connectorx
  • sqlalchemy
  • database
  • fsspec
  • deltalake
  • iceberg
  • async
  • cloudpickle
  • graph
  • plot
  • style
  • timezone
  • gpu
  • all
requires_dist
  • polars-runtime-32==1.44.2
  • polars-runtime-64==1.44.2; extra == "rt64"
  • polars-runtime-compat==1.44.2; extra == "rtcompat"
  • polars_cloud>=0.9.0; extra == "polars-cloud"
  • numpy>=1.16.0; extra == "numpy"
  • pandas; extra == "pandas"
  • polars[pyarrow]; extra == "pandas"
  • pyarrow>=7.0.0; extra == "pyarrow"
  • pydantic; extra == "pydantic"
  • fastexcel>=0.9; extra == "calamine"
  • openpyxl>=3.0.0; extra == "openpyxl"
  • xlsx2csv>=0.8.0; extra == "xlsx2csv"
  • xlsxwriter; extra == "xlsxwriter"
  • polars[calamine,openpyxl,xlsx2csv,xlsxwriter]; extra == "excel"
  • adbc-driver-manager[dbapi]; extra == "adbc"
  • adbc-driver-sqlite[dbapi]; extra == "adbc"
  • connectorx>=0.3.2; extra == "connectorx"
  • sqlalchemy; extra == "sqlalchemy"
  • polars[pandas]; extra == "sqlalchemy"
  • polars[adbc,connectorx,sqlalchemy]; extra == "database"
  • fsspec; extra == "fsspec"
  • deltalake!=1.5.*,>=1.0.0; extra == "deltalake"
  • pyiceberg>=0.9.0; extra == "iceberg"
  • gevent; extra == "async"
  • cloudpickle; extra == "cloudpickle"
  • matplotlib; extra == "graph"
  • altair>=5.4.0; extra == "plot"
  • great-tables>=0.8.0; extra == "style"
  • tzdata; platform_system == "Windows" and extra == "timezone"
  • cudf-polars-cu12; extra == "gpu"
  • polars[async,cloudpickle,database,deltalake,excel,fsspec,graph,iceberg,numpy,pandas,plot,pyarrow,pydantic,style,timezone]; extra == "all"
requires_python >=3.10
File Tox results History
polars-1.44.2-py3-none-any.whl
Size
845 KB
Type
Python Wheel
Python
3

Polars logo

crates.io Latest Release PyPi Latest Release NPM Latest Release R-multiverse Latest Release DOI Latest Release

Documentation: Python - Rust - Node.js - R | Agents: Skill - MCP | User guide | Discord

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:

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

Compile Polars from source

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
  2. Install maturin: 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.

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).

Export Classification Notice

The software hosted on this website consists of publicly available open‑source packages. To the extent U.S. export regulations apply, software that is publicly available as described in 15 C.F.R. §§ 734.7 (for non-encryption software) or 742.15(b) (for encryption software) is not subject to the Export Administration Regulations (EAR). Users are responsible for complying with all applicable export laws and regulations.