What problem does it solve?
Adding support for Polars expressions in cudf-polars requires understanding Polars internals, GPU execution paths, and strict testing requirements. This Skill provides a structured workflow for implementing or reviewing Polars expression support so expressions run entirely on the GPU without silent CPU fallback.
Core Features & Use Cases
- Behavior Analysis: Guides review of the Polars Python and Rust source to understand expression semantics, edge cases, and exception behavior before implementation.
- GPU Implementation Patterns: Directs implementation in the cudf-polars DSL expression layer using pylibcudf, covering single-partition and multi-partition streaming execution paths.
- Testing Discipline: Enforces unit tests with 100% coverage of new code, engine fixtures for all execution modes, and version-gated tests via pytest.mark.skipif.
- Use Case: When a user reports that a Polars expression like a string or datetime operation falls back to CPU in cudf-polars, follow this workflow to diagnose the gap, implement GPU support, and add validated tests.
Quick Start
Implement GPU support for the Polars expression I specify in cudf-polars, following the review workflow and adding tests that pass all pre-commit checks.