An automated Python script that cleans messy CSV files and provides data insights through visualizations. Perfect for datasets with inconsistent formatting, missing values, or unclear column names.
- π₯ Robust CSV loading (handles UTF-8 and Latin-1 encodings)
- π§Ή Cleans column names (removes spaces, trims whitespace)
- π Removes duplicate rows
- π§ Intelligent missing value handling (separates numeric and text fields)
- π Auto-generates useful visualizations:
- Score distribution
- City-wise count
- Join-year trends
- πΎ Exports a cleaned version of the input file
- πΌ Saves all charts as PNG images
main.pyβ the main scriptsample.csvβ sample messy CSV for testingcleaned_sample.csvβ cleaned CSV (output)score_distribution.pngβ visualization of numeric datacity_counts.pngβ count plot by cityjoin_years.pngβ join date timelinescreenshots/β (optional) place to store project screenshots for GitHub/Fiverr
# 1. Install dependencies (if not already)
pip install pandas seaborn matplotlib
# 2. Run the script
python main.pyAdd screenshots of:
- Cleaned CSV preview
- Visualizations like Score distribution, City count, etc.
- Freelancers offering data cleaning services
- Analysts who want to automate EDA (exploratory data analysis)
- Anyone who works with messy spreadsheets or unstructured data
This is part of my Fiverr portfolio. If you're looking to:
- Clean a CSV
- Generate quick insights
- Automate your reporting workflow...
β‘οΈ Hire me on Fiverr (replace with your Fiverr profile link)