What problem does it solve? Pandas becomes slow and memory-hungry on datasets in the 1-100GB range, forcing trade-offs between performance and convenience. This Skill provides guidance for using Polars, a DataFrame library built on Apache Arrow with lazy evaluation and automatic parallelization, as a faster pandas replacement for data that still fits in RAM. ## Core Features & Use Cases - Expression-Based Transformations: Build composable operations with select, filter, with_columns, group_by aggregations, and window functions using the over() clause. - Lazy Query Optimization: Use scan_csv/scan_parquet with LazyFrame to get predicate pushdown, projection pushdown, and streaming execution for large files. - Pandas Migration: Apply operation mappings and anti-pattern guidance to convert existing pandas code to Polars syntax. - Use Case: You have a 20GB CSV of transaction logs. Instead of loading it eagerly, use pl.scan_csv, filter and aggregate lazily, then collect with streaming enabled to stay within memory limits. ## Quick Start Ask the AI to convert a pandas filtering and groupby script into an optimized Polars lazy query using scan_csv and collect.