A blazingly fast DataFrame library built on Apache Arrow that slots in when pandas becomes a bottleneck but your data still fits in RAM. The expression-based API is cleaner than pandas chaining, lazy evaluation gives you automatic query optimization, and everything parallelizes by default. Think 1-100GB datasets, ETL pipelines, or anywhere you're tired of waiting for pandas to finish. The learning curve is real if you're coming from pandas since there's no index and the syntax is different, but the speed gains and cleaner code usually justify it. Use lazy mode with scan_csv instead of read_csv for anything sizeable, and stick to native expressions instead of Python functions to keep things fast.

skills.sh installs
2.2K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
AI & Agent Building, Data Science & ML, Debugging, Automation & Workflows, Python, Marketing & SEO
First seen
Jun 3, 2026

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

All 137
1mapbox avatarmapbox-cartographymapbox/mapbox-agent-skillsExpert guidance on map design principles, color theory, visual hierarchy, typography, and cartographic best practices for creating effective and beautiful maps 2.2Kskills.sh installs
2open-circle avatarvalibotopen-circle/agent-skillsSchema validation with Valibot, the modular and type-safe schema library. Use when the user needs to validate data, create schemas, parse inputs, or work with V2.2Kskills.sh installs
3k-dense-ai avatarpptx-postersk-dense-ai/scientific-agent-skillsCreate and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable 2.2Kskills.sh installs
4kotlin avatarkotlin-tooling-java-to-kotlinkotlin/kotlin-agent-skillsUse when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", or when working2.2Kskills.sh installs
5k-dense-ai avatarresearch-grantsk-dense-ai/scientific-agent-skillsWrite competitive research proposals for NSF, NIH, DOE, DARPA, and Taiwan NSTC. Agency-specific formatting, review criteria, budget preparation, broader impacts2.1Kskills.sh installs
6k-dense-ai avatarsympyk-dense-ai/scientific-agent-skillsUse when you need exact symbolic math in Python — algebra, calculus, equation solving, symbolic linear algebra, or code generation via lambdify/LaTeX. Prefer Nu2.1Kskills.sh installs