Dataset comparison API¶
Compare two polars DataFrames, LazyFrames, or parquet datasets using descriptive statistics. All calculated tables can be reused in curated static reports.
| API | Description |
|---|---|
compare |
Create a comparison from two sources |
DatasetComparison |
Reusable comparison object |
overview |
Dataset row and column counts |
schema_changes |
Added, removed, and changed dtypes |
missingness |
Null counts and percentage-point differences |
numeric |
Numeric summary differences |
categorical |
Bounded categorical frequency differences |
skipped |
Category-level comparisons omitted for safeguards |
to_report |
Create a curated Report |
to_html |
Render complete HTML in memory |
write_html |
Write an offline HTML report |
See the comparison guide for practical usage.