EazyDataFix checks weekly employee CSVs against data-quality rules
The open-source Python library EazyDataFix profiles employee CSVs, scores data quality and validates files against contracts, helping scheduled checks catch duplicates, missing values and invalid fields.
EazyDataFix is an open-source Python library for checking recurring employee exports against data-quality expectations. The workflow loads identifiers and phone numbers as text before validation, preventing pandas from converting values such as employee ID 001 or phone numbers into unsuitable numeric formats.
On the sample eight-row file, a plain pandas load produced a quality score of 79.75, grade C, and caused every non-blank phone number to fail validation after conversion to floating-point text. The typed load raised the score to 80.10, grade B, while still identifying missing phone and salary values, an invalid email, an invalid phone number, whitespace in a department value, a future joining date and stale data.
The library can also enforce a contract requiring columns and types, unique employee IDs, present names and emails, and non-negative salaries. The sample failed because of one duplicate employee ID and two missing salaries; a later example also detected a missing last_updated column, an unauthorized bonus column and a salary of -200.0. A scheduled script combines the report with a minimum score of 85 and exits with failure when the checks do not pass.