polars recipes
3 tested polars integration recipes with duckdb, pyarrow, pandera, Pydantic. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
passed5/5python
DuckDB over Polars DataFrames: replacement scans, parquet roundtrip, group-by parity
Query Polars DataFrames directly with DuckDB, return .pl() results, round-trip through parquet in tmp_path, and check group-by aggregations against Polars native output.
duckdb@1.5.6polars@2.0.0pyarrow@26.0.0
last passed 2026-10-15 14:12 UTC
passed5/5python
Polars DataFrame validation with pandera, collecting all errors
Validate Polars DataFrames with a pandera.polars DataFrameModel, collect every failing check with lazy validation, and test the schema offline with in-memory frames.
polars@2.0.0pandera@0.34.1pytest@9.1.1
last passed 2026-10-15 14:16 UTC
passed5/5python
Validating polars DataFrame rows with pydantic v2 TypeAdapter and collecting errors
Validate each polars row against a strict pydantic v2 model with a shared TypeAdapter, collect per-row errors instead of failing the batch, and catch polars and pydantic gotchas such as nulls, NaN, numeric strings and extra columns.
polars@2.0.0pydantic@2.14.1pytest@9.1.1
last passed 2026-10-15 14:16 UTC