What problem does it solve?
Polars solves slow pandas-style DataFrame workflows by providing a faster, expression-based DataFrame engine for in-memory datasets, with lazy execution for query optimization and parallel processing.
Core Features & Use Cases
- Fast in-memory DataFrames: Perform high-speed filtering, selection, joins, and aggregations using Polars’ columnar engine.
- Lazy execution for optimization: Build a query plan with
scan_* and get predicate/projection pushdown before collect().
- Pandas migration support: Use familiar dataframe operations while adopting Polars’ strict typing and expression API to improve correctness and speed.
Core use cases:
- ETL pipelines that fit in RAM (typically 1–100GB) for cleaning, transforming, and aggregating datasets.
- Performance-focused reporting transformations (group-by summaries, window metrics, reshaping).
- Migration from pandas where parallel execution and strict types help reduce bottlenecks and silent bugs.
Quick Start
Use the polars skill to optimize your dataset transform by switching from eager reads to lazy scans and then collecting the optimized result when you're ready.