Agent skill
polars
Polars fast DataFrame library. Use for fast data processing.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/polars-g1joshi-agent-skills
SKILL.md
Polars
Polars is the fast successor to Pandas. Written in Rust, query-optimized, and parallelized. v1.0 (2024) signaled production readiness.
When to Use
- Performance: 10-100x faster than Pandas on large data.
- Lazy Evaluation: Define a query plan and execute it efficiently (
.collect()). - Streaming: Process datasets larger than RAM.
Core Concepts
Lazy API (.lazy())
Builds a query plan. Polars optimizes it (predicate pushdown) before reducing it.
Expressions
pl.col("a").sum() is an expression, not a direct calculation.
Compatibility
Can convert to/from Pandas/PyArrow zero-copy.
Best Practices (2025)
Do:
- Use Lazy Mode:
df.lazy().filter(...).collect(). - Use
scan_parquet: Don't load the whole file; scan it. - Use GPU engine: Polars has experimental NVIDIA RAPIDS support.
Don't:
- Don't treat it like Pandas: The API is different (
axis=1doesn't exist; use expressions).
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?