Skip to content

High-performance Python DataFrame library for ETL, analytics, and pandas migration with lazy optimization.

CCM score
59 of 100
skills.sh installs
2.3K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers expression-based data manipulation, lazy query planning, parallel execution, and streaming out-of-core processing for large datasets
  • Includes select, filter, with_columns, group_by, window functions via over(), joins, concatenation, pivot, and unpivot operations
  • Provides Arrow interoperability, file I/O for CSV, Parquet, and JSON, and a pandas-to-Polars operation mapping table
  • Designed for data pipelines and projects moving from pandas that need typed schemas and optional GPU or cloud integrations

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill polars -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Polars

Overview

Polars is a columnar DataFrame library for Python and Rust with Arrow interoperability. Work with Polars' expression-based API, lazy evaluation framework, and high-performance data manipulation capabilities for efficient data processing, pandas migration, and data pipeline optimization.

Reviewed against the official stable documentation and native Polars 1.44.2. Local regression tests cover the corrected APIs and scientific failure cases; cloud, GPU, BigQuery, and remote database recipes are illustrative and require provider setup. Fragments using undefined columns, paths, or ... require adaptation to the dataset.

Quick Start

Installation and Basic Usage

Install the current stable Polars release verified during this refresh:

uv pip install "polars==1.44.2"

Install optional integrations only when needed:

uv pip install "polars[excel,database,fsspec,pandas,numpy]==1.44.2"

Basic DataFrame creation and operations:

import polars as pl

# Create DataFrame
df = pl.DataFrame({
    "name": ["Alice", "Bob", "Charlie"],
    "age": [25, 30, 35],
    "city": ["NY", "LA", "SF"]
})

# Select columns
df.select("name", "age")

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the polars skill do for Claude Code and other agents?

The polars skill guides an agent through the Polars DataFrame library for Python, covering expression-based data manipulation, lazy query optimization, parallel and streaming processing, and Arrow interoperability. It also helps with migrating pandas code to Polars and building ETL pipelines.

How do I install the polars skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill polars -y in your project. Once installed, the agent can write Polars code for filtering, grouping, joins and file reading and writing.

Which other skills lead the Data Science & Analytics category?

Within Data Science & Analytics, the polars skill sits alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Polars is the skill to pick when the work is a Python DataFrame workflow.

Does the polars skill need extra packages or a specific Python version?

The skill targets Python 3.10 or newer with Polars 1.44.2, installed with uv pip install. Optional extras enable Excel, database, cloud, pandas and NumPy, and GPU integrations.

More from k-dense-ai/scientific-agent-skills

All 132