Data Cleaning & Automation Tool
02 Overview
This project is an automated data processing engine engineered to ingest messy, non-standard business spreadsheets and output clean, verified datasets. It replaces repetitive manual spreadsheet sanitization with repeatable, validated Python transformation pipelines.
03 The Problem
Raw spreadsheet files exported from legacy CRMs and external vendors often contain duplicates, missing values, inconsistent formatting (such as multiple date representations like DD/MM/YYYY vs MM-DD-YY), and invalid text strings.
04 The Solution
I developed a modular Python script and processing workflow that scans raw input files, executes targeted sanitization rules (fuzzy matching for duplicates, regex-based phone/date normalization, and rule-based missing value handling), and exports clean datasets alongside a detailed transformation audit log.
05 Data Pipeline Workflow
06 Key Features
Smart Deduplication
Detects and purges both exact duplicate rows and fuzzy matching customer records based on primary identifiers.
Date & Time Normalization
Parses heterogeneous date formats automatically into standard ISO-8601 (YYYY-MM-DD).
Missing Value Imputation
Handles null values through domain-specific median, mode, or placeholder substitution without data loss.
String & Case Cleaning
Strips leading/trailing whitespace, invisible unicode symbols, and enforces title/uppercase standards.
Audit & Error Logging
Generates a summary log specifying exactly how many records were modified, dropped, or flagged.
Multi-format Export
Exports analysis-ready files in `.xlsx`, `.csv`, or SQLite format with preserved column types.
07 Technical Architecture
08 Output Demonstration
09 Challenges & Solutions
10 Results & Impact
Automates repetitive data-cleaning operations and produces a standardized dataset ready for downstream analysis.
Ensures zero formula calculation errors caused by corrupted spreadsheet inputs and establishes a consistent, reproducible pipeline for weekly data updates.
11 Future Improvements
- Direct PostgreSQL and MySQL database connection drivers for automated table syncs.
- Cloud scheduled cron execution via AWS Lambda or GitHub Actions.
- Web-based drag-and-drop user interface for non-technical team members.