Skip to content


Blazingly Fast DataFrame Library

Polars is a blazingly fast DataFrame library for manipulating structured data. The core is written in Rust, and available for Python, R and NodeJS.

Key features

  • Fast: Written from scratch in Rust, designed close to the machine and without external dependencies.
  • I/O: First class support for all common data storage layers: local, cloud storage & databases.
  • Intuitive API: Write your queries the way they were intended. Polars, internally, will determine the most efficient way to execute using its query optimizer.
  • Out of Core: The streaming API allows you to process your results without requiring all your data to be in memory at the same time
  • Parallel: Utilises the power of your machine by dividing the workload among the available CPU cores without any additional configuration.
  • Vectorized Query Engine: Using Apache Arrow, a columnar data format, to process your queries in a vectorized manner and SIMD to optimize CPU usage.

Users new to DataFrames

A DataFrame is a 2-dimensional data structure that is useful for data manipulation and analysis. With labeled axes for rows and columns, each column can contain different data types, making complex data operations such as merging and aggregation much easier. Due to their flexibility and intuitive way of storing and working with data, DataFrames have become increasingly popular in modern data analytics and engineering.


The goal of Polars is to provide a lightning fast DataFrame library that:

  • Utilizes all available cores on your machine.
  • Optimizes queries to reduce unneeded work/memory allocations.
  • Handles datasets much larger than your available RAM.
  • A consistent and predictable API.
  • Adheres to a strict schema (data-types should be known before running the query).

Polars is written in Rust which gives it C/C++ performance and allows it to fully control performance critical parts in a query engine.


scan_csv · filter · group_by · collect

import polars as pl

q = (
    .filter(pl.col("sepal_length") > 5)

df = q.collect()

LazyCsvReader · filter · group_by · collect · Available on feature streaming · Available on feature csv

use polars::prelude::*;

let q = LazyCsvReader::new("docs/data/iris.csv")

let df = q.collect()?;

A more extensive introduction can be found in the next chapter.


Polars has a very active community with frequent releases (approximately weekly). Below are some of the top contributors to the project:

ritchie46 stinodego alexander-beedie MarcoGorelli reswqa zundertj orlp ghuls universalmind303 nameexhaustion mcrumiller c-peters coastalwhite itamarst matteosantama Dandandan magarick ibENPC moritzwilksch jorgecarleitao cmdlineluser mickvangelderen petrosbar jonashaag wence- borchero braaannigan marcvanheerden ion-elgreco cnpryer ryanrussell josh cjermain JulianCologne thatlittleboy r-brink marioloko illumination-k messense jakob-keller Wainberg deanm0000 flisky rben01 mhconradt svaningelgem SeanTroyUWO taki-mekhalfa sorhawell


We appreciate all contributions, from reporting bugs to implementing new features. Read our contributing guide to learn more.


This project is licensed under the terms of the MIT license.