polars

Process in-memory DataFrames with lazy evaluation and parallel execution.

2|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Clay-HHK/claude-config --skill polars-clay-hhk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polars
Source: https://github.com/Clay-HHK/claude-config/tree/main/skills/polars
Command: npx skills add https://github.com/Clay-HHK/claude-config --skill polars-clay-hhk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Polars eliminates slow, single-threaded DataFrame operations by providing a high-performance, parallel, Apache Arrow-backed in-memory engine so users can process and transform large datasets that fit in RAM with predictable typing and faster execution than pandas.

Core Features & Use Cases

  • High performance: Lazy evaluation, expression-based API, and parallel execution minimize runtime for ETL and analytics pipelines.
  • Flexible I/O: Efficient scanning and reading/writing for CSV, Parquet, JSON, Excel and cloud storage with predicate and projection pushdown.
  • Advanced transformations: Group-by aggregations, window functions, joins, pivots, concatenation, streaming collection, and memory-efficient type casting for datasets in the 1–100GB range.
  • Use Case: Migrate pandas pipelines to Polars to speed up nightly aggregations, join large tables for reporting, or perform feature engineering for machine learning workloads.

Quick Start

Scan the input file lazily, filter rows where age is greater than 25, select the name and age columns, and collect the result into memory.

Frequently Asked Questions about polars

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I speed up pandas DataFrame processing for large datasets in RAM?

To speed up pandas DataFrame processing for large datasets in RAM, migrate your pipelines to an Apache Arrow-backed engine that uses lazy evaluation and parallel execution. This approach minimizes runtime for ETL and analytics tasks on datasets up to tens of gigabytes.

What is the best way to process Parquet files for ETL without loading everything into memory?

The best way to process Parquet files for ETL is to use lazy scanning with predicate and projection pushdown. This allows the engine to filter rows and select columns during the scan, collecting only the required data into memory efficiently.

Can I perform group-by aggregations and window functions on a 50GB dataset using in-memory processing?

Yes, you can perform group-by aggregations and window functions on a 50GB dataset using in-memory processing. The engine handles datasets in the 1–100GB range through parallel execution and streaming collection to manage memory efficiently.

Does lazy evaluation work with CSV and JSON I/O for feature engineering pipelines?

Lazy evaluation works with CSV and JSON I/O for feature engineering pipelines. The engine supports efficient reading and writing for these formats, applying expression-based transformations and type casting before collecting the final results into memory.

Why use an Apache Arrow-backed DataFrame over standard pandas for nightly data transformations?

An Apache Arrow-backed DataFrame provides predictable typing and faster execution than standard pandas for nightly data transformations. It eliminates single-threaded operations by utilizing a high-performance parallel engine for large datasets that fit in RAM.