This project is a simple yet powerful script that cleans messy CSV or Excel files by:
- Removing blank rows
- Stripping extra spaces
- Standardizing column headers
- Saving the cleaned version automatically
It’s great for anyone who works with exported data from Excel, web apps, or CRMs and wants to tidy it up instantly with Python.
✅ Removes completely empty rows
✅ Trims extra spaces in text fields
✅ Standardizes column names (title case)
✅ Works with CSV files (Excel support coming soon)
✅ Easy to customize for your workflow
Below are examples showing how the data looks before and after using data_cleaner.py
:
- Place your raw file (e.g.,
uncleaned_data.csv
) in the same folder as the script - Run the script using:
python data_cleaner.py