Repository navigation
v2.10.0 — Production correctness
Universal Data Cleaner 2.10.0
Production-correctness release. No new data-cleaning primitive; this version hardens the existing surface.
Concurrency-safe reporting
DataCleaner.transform_with_report(X)returns(cleaned_frame, DriftReport)for one batch without reading or writing shared state.transform()stays backward compatible and documentsdrift_report_as per-instance last-call state.
Numeric precision
CleanerConfig.preserve_integer_dtypes=Truekeeps integral columns asint64when the learned fill value and outlier bounds are integral.CleanerConfig.on_precision_losssupports"coerce","warn", and"raise".- Detection is exact at the
2^53boundary: representable values such as2^53 + 2stay intact, while2^53 + 1is flagged.
Artifact persistence
save()writes to a temporary file, validates it, then atomically replaces the target withos.replace. Failed saves keep the previous artifact and remove partial files.load(..., strict_environment=True)turns pandas, NumPy, or scikit-learn major-version mismatches intoArtifactCompatibilityError; the default logs a warning.- Corrupt and truncated artifacts now raise
ValueErrorwith the underlying cause.
Chunked ingestion
iter_csv_safe()gainsunique_tracking("memory","disk", or"auto"),unique_tracking_limit, andunique_tracking_path.- Disk tracking uses SQLite;
"auto"migrates from memory once the limit is exceeded. combine_ingestion_reports(reports, source=None)rolls per-chunk reports into one whole-file report.
Documentation
- Updated cleaning, ingestion, production, artifact, API, README, changelog, and roadmap documentation.
Verification
- Local gate: ruff, formatting, mypy, pytest, wheel/sdist build, and strict MkDocs build.
- CI: lint, typecheck, tests on Python 3.10–3.13, compatibility on minimum/latest dependencies and pandas 3.x, build, installed-wheel smoke test, docs, and
ci-success.
Full changelog: https://github.com/devlprkhan/universal-data-cleaner/blob/main/CHANGELOG.md