How radhwane-py/messy_data_cleaner works
Messy Data Cleaner is a configurable CSV/Excel cleaning tool. Users can inspect a dataset with the exploration CLI or run the cleaning CLI with a YAML rules file; the pipeline loads data, profiles it, applies configured cleaning steps, validates it, profiles the result, and saves it. The graph shows the distinct processing stages and the I/O and profiling layers. Relationships are based on the shown source excerpts and README; configuration-driven behavior is shown only where documented or visible in the CLI and pipeline.
Main entry points: pipeline.py Cleaning pipeline · clean.py Cleaning CLI · explore.py Explore CLI · io_utils.py Data loading
Components 15
User interfaces
- Cleaning CLI
clean.py - Explore CLI
explore.py
Pipeline orchestration
- Cleaning pipeline
src/cleaner/pipeline.py
Data processing
- Data loading
src/cleaner/io_utils.py - Dataset profiling
src/cleaner/profiling.py - Column standardization
src/cleaner/cleaning.py - Text and types
src/cleaner/cleaning.py - Missing and duplicates
src/cleaner/cleaning.py - Outlier removal
src/cleaner/cleaning.py - Data validation
src/cleaner/validation.py - Data saving
src/cleaner/io_utils.py
Rules and outputs
- YAML rules
config/default_config.yaml
Other components
- User
- Input dataset
- Cleaned dataset
Connections 16
- User → Cleaning CLI: runs
README.md - User → Explore CLI: runs
README.md - Cleaning CLI → YAML rules: loads rules
clean.py - Cleaning CLI → Cleaning pipeline: runs
clean.py - Explore CLI → Data loading: loads data
explore.py - Explore CLI → Dataset profiling: profiles data
explore.py - Input dataset → Data loading: read by
- Cleaning pipeline → Data loading: loads data
src/cleaner/pipeline.py - Cleaning pipeline → Dataset profiling: profiles data
src/cleaner/pipeline.py - Cleaning pipeline → Column standardization: standardizes columns
src/cleaner/pipeline.py - Cleaning pipeline → Text and types: normalizes and converts
src/cleaner/pipeline.py - Cleaning pipeline → Missing and duplicates: handles missing and duplicates
src/cleaner/pipeline.py - Cleaning pipeline → Outlier removal: removes outliers
src/cleaner/pipeline.py - Cleaning pipeline → Data validation: validates data
src/cleaner/pipeline.py - Cleaning pipeline → Data saving: saves data
src/cleaner/pipeline.py - Data saving → Cleaned dataset: writes