Skip to content

v0.4.2

Choose a tag to compare

@albertxli albertxli released this 08 Apr 04:09
· 15 commits to main since this release

What's New

  • validate(df, meta) — check value label quality before analysis
    • Unlabeled values (error) — data values without labels in metadata
    • Duplicate labels (warning) — multiple codes mapping to the same label
    • ValidationReport with is_valid, errors, warnings, raise_if_invalid(), to_frame()
    • Repr truncation: max 10 issues, 80-char box width
  • Shared pure helpers between validate() and apply_labels() — same check logic, different behavior (report vs raise)
  • columns + exclude combinable in validate() for flexible filtering
  • 29 new tests

See validate.md for full documentation.

Full Changelog: v0.4.1...v0.4.2