Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

polars

Skill by davila7

Teaches an AI assistant to use Polars, a fast DataFrame library for Python and Rust built on Apache Arrow. Aimed at people doing high-performance data analysis or moving code from pandas.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install polars

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/polars ~/.claude/skills/polars

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install polars in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Polars is a DataFrame library for Python and Rust, built on Apache Arrow. This skill gives an AI assistant guidance on its expression-based API, including select, filter, with_columns, group_by, and window functions using over(). It also covers joins, concatenation, pivot and unpivot, and reading and writing CSV, Parquet, and JSON files.

The skill explains eager DataFrame and lazy LazyFrame evaluation, where lazy queries are optimized before collect() runs them. It includes a pandas migration table and best practices, such as preferring scan_csv for large files and using streaming. Detailed topics are split into reference files covering core concepts, operations, I/O, transformations, pandas migration, and best practices. It suits people working on high-performance data analysis or pandas migration.

Written from the project's SKILL.md and checked against it.

What it can do

  • Expression APIBuilds column transformations with pl.col(), aliases and composable expressions.
  • Select and filterSelects columns by name or regex pattern and filters rows by one or more conditions.
  • Group by and window functionsRuns group_by aggregations and applies over() to keep the original row count.
  • Lazy evaluationBuilds a LazyFrame query plan that is optimized before collect() executes it.
  • Joins and concatenationCombines DataFrames with joins and vertical, horizontal or diagonal concatenation.
  • Pivot and unpivotReshapes data between wide and long formats.
  • CSV, Parquet and JSON I/OReads and writes CSV, Parquet and JSON files, eagerly or lazily for CSV.
  • Pandas migration guideMaps common pandas operations to their Polars equivalents.

What you need

  • Python
  • uv (for the install command shown)

Try asking

  • Use Polars to filter a CSV file by age and group the results by city.
  • Convert this pandas groupby code to Polars with group_by and over().
  • Scan a large Parquet file lazily and select only the columns I need.

Good to know

  • The source notes that Python functions such as map_elements slow down hot paths, so the expression API is preferred.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/scientific/polars/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • references/best_practices.md14 KB
  • references/core_concepts.md8 KB
  • references/io_guide.md11 KB
  • references/operations.md12 KB
Show all 7 files
  • references/pandas_migration.md12 KB
  • references/transformations.md11 KB

Alternatives to polars

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

polars: common questions

Is Polars built on Apache Arrow?

Yes. The source describes Polars as a lightning-fast DataFrame library for Python and Rust built on Apache Arrow.

What is the difference between eager and lazy evaluation in Polars?

Eager DataFrame operations run immediately, while LazyFrame operations build a query plan that is optimized before execution. The source recommends lazy evaluation for large datasets.

Which file formats does this skill cover?

The source covers CSV, Parquet and JSON in detail, and mentions Excel, databases, cloud storage (S3, Azure, GCS) and Google BigQuery as supported.

How do I install polars?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is polars free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is polars safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to polars?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

polars Install

Add to stack

Loading.