What problem does it solve?
This Skill helps you perform fast, reliable tabular data analysis by explaining how to build Polars pipelines that avoid prompt bloat and common performance traps in expression-based DataFrame workflows.
Core Features & Use Cases
- Polars expressions and lazy evaluation: Design transformations that Polars can optimize, using
pl.col(...) and lazy scan_* pipelines for large datasets.
- Data manipulation patterns: Select, filter, add/transform columns, group and aggregate, and apply window functions with
.over(...).
- Performance-focused guidance: Use best practices like predicate/projection pushdown, streaming for large data, and avoiding Python UDFs to keep execution parallel and efficient.
- Pandas migration support: Translate common pandas idioms (indexing, apply/map patterns, groupby transforms) into idiomatic Polars equivalents for correctness and speed.
Quick Start
Ask the skill: "Give me a Polars lazy pipeline that reads a large CSV, selects only the needed columns, filters rows by a condition, computes a new column, groups by a key, and returns the aggregated result."