Polars

High-performance DataFrame library usage. Covers Lazy API, Wrangling, Aggregation.

yonesuke Updated

File contents

Polars Skill

Fast data manipulation in Python.

Contents

  • Examples
    • Lazy API, GroupBy, Window Functions.

Core Concepts

  • Lazy API: df.lazy()...collect(). Preferred for performance (Query Optimization).
  • Expressions: pl.col("a") * 2. Parallelizable logic.
  • Eager API: df.filter(...). Good for debugging.

Usage

Use for all tabular data tasks unless pandas is strictly required by legacy dependencies.

yonesuke/skills/tree/main/polars commit fa45d78920

Frequently asked questions

npx skillmds@latest add yonesuke/polars