finds.dev

rhiever/datacleaner

A Python tool that automatically cleans data sets and readies them for analysis.

View on GitHub

★ 1,082PythonMITupdated May 2019

// the take

datacleaner is a thin wrapper around pandas and scikit-learn that automates the most mechanical parts of tabular data prep: dropping or imputing NaNs, and label-encoding categoricals. It targets data scientists who work with already-structured CSVs and want those two steps done without writing the boilerplate themselves.

The autoclean_cv function is the one genuinely useful idea here — it fits encoders only on the training set and applies them to the test set, which is exactly the mistake beginners make and a real source of leakage. The CLI interface is a nice touch for one-off cleaning without opening a notebook. The API surface is minimal, which means there is almost nothing to learn.

Last pushed in 2019, targeting Python 2.7 and 3.5 — both end-of-life. The imputation strategy is hardcoded median/mode with no way to override, which is fine for demos but breaks on any real dataset where that default is wrong. The feature set is so narrow (drop NaNs, impute, label-encode) that pandas itself plus two lines of sklearn code does the same thing without the dependency. The Travis CI badge links to a defunct service and the Landscape code-health badge is also dead, so you can't tell if the test suite even passes anymore.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,082
Forks
206
Language
Python
License
MIT
Last commit
22 May 2019

// nearby

If datacleaner isn't quite it.

All repos →