DatasetComparison¶
DatasetComparison ¶
Lazy, reusable descriptive comparison of two dataset snapshots.
Both sources must remain unchanged during evaluation. Percentages use
all rows in their respective dataset. Numeric summaries omit nonfinite
values, consistent with polarstory.stats.numeric. The change_pp
column is current minus baseline, in percentage points.
High-cardinality categorical and identifier-like columns are omitted from value-level comparisons by default, but remain in the schema inventory.