---
title: "Polars"
description: "Polars is a high-performance data manipulation library written in Rust, designed to handle large datasets efficiently."
canonical: "https://motherduck.com/glossary/polars/"
related:
  - title: "DuckDB vs Pandas vs Polars for Python Developers"
    url: "https://motherduck.com/blog/duckdb-versus-pandas-versus-polars/"
  - title: "DuckDB vs Pandas vs Polars: Performance Comparison for Python | MotherDuck"
    url: "https://motherduck.com/videos/duckdb-vs-pandas-vs-polars-for-python-devs/"
  - title: "DuckLake | MotherDuck Docs"
    url: "https://motherduck.com/docs/concepts/ducklake/"
gated_asset:
  title: "DuckLake on MotherDuck"
  url: "https://motherduck.com/product/ducklake/"
---

# Polars

> Polars is a high-performance data manipulation library written in Rust, designed to handle large datasets efficiently.

[Polars](https://www.pola.rs/) is a high-performance data manipulation library written in Rust, designed to handle large datasets efficiently. It offers a DataFrame API similar to pandas but with significantly improved speed and memory usage. Polars leverages Arrow memory layout for zero-copy operations and supports both eager and lazy execution modes. Its columnar architecture allows for vectorized operations, making it particularly well-suited for complex data transformations and analytics tasks. Data analysts and engineers can use Polars in Python, R, and Rust, benefiting from its expressive query language and optimized algorithms for tasks like grouping, joining, and aggregating data. Polars integrates seamlessly with other data ecosystem tools, including DuckDB, making it a powerful choice for data preprocessing and analysis workflows.



<glossary-callout guide="duckdb-book-brief" />

**Watch:** [DuckDB vs Pandas vs Polars: Performance Comparison for Python](https://motherduck.com/videos/duckdb-vs-pandas-vs-polars-for-python-devs/)
