HR Dataset
Trim inconsistent text spacing and remove duplicate employee records.
Overview
A small synthetic HR extract with leading/trailing whitespace and one duplicated employee record. The default controlled fix removes both safely.
Dataset
hr.csv12 rows × 7 columnsemployee_idnamedepartmentrolestart_dateemployment_typelocation
Synthetic HR data with whitespace inconsistencies and a duplicate row.
Python code
hr.py
python
import eazydatafix as edf
result = edf.fix("hr.csv")
result.save("hr.clean.csv")
print(result.dataset.shape)
print(result.applied_fixes)Expected output
Python 3.11
>>> result = edf.fix("hr.csv")(11, 7)['Trimmed leading/trailing whitespaces.', 'Removed 1 duplicate row(s).']