PROJECT 20 • DAY 2 OF 90 • DATA GOVERNANCE

CSV DATA QUALITY
INSPECTOR.

An automated exploratory profiling and data governance platform computing deterministic 0–100 composite quality scores across 5 weighted pillars — paired with encoding/delimiter sniffing, Tukey IQR + Z-score outlier scans, Python cleanup snippets, and audit exports.

Python 3.12Pandas 3.0+Streamlit 1.40+5 Quality PillarsIQR & Z-Score25/25 Pytest
CSV Data Quality Inspector Preview
SCORING MODEL
5 Pillars • 0–100 (A–F)
PYTEST SUITE
25 / 25 Passed
5 Pillars
Explainable Weighted Score
4 Delimiters
Comma • Semi • Tab • Pipe
4 Exports
HTML • JSON • MD • Clean CSV
25 / 25
Pytest Tests Passed
01 / Overview

ELIMINATING THE 80% MANUAL DATA CLEANING BOTTLENECK.

Silent duplicates, trailing whitespace, numeric strings, and corrupted delimiters break downstream ML models. The inspector diagnoses every flaw automatically with copyable code fixes.

01

Encoding & Delimiter Sniffer

Detects UTF-8, Latin-1, and CP1252 encodings plus comma, semicolon, tab, and pipe separators automatically.

02

5-Pillar 0–100 Score (A–F)

Weights Completeness (25%), Uniqueness (20%), Validity (20%), Outlier Health (15%), and Structural Integrity (20%).

03

Dual Outlier Detection

Runs Tukey's Interquartile Range (IQR) bounds alongside standardized |z| > 3.0 anomaly checks per numeric feature.

04

Semantic Hygiene Audit

Detects untrimmed whitespace, numbers stored as strings, negative values, all-null rows, and constant columns.

05

Python Remediation Snippets

Emits actionable, copy-pasteable Pandas cleaning code tailored to each detected anomaly or missing column.

06

Multi-Format Audit Deliverables

Exports standalone interactive HTML reports, CI/CD JSON schemas, Markdown summaries, and one-click auto-cleaned CSVs.

02 / Architecture

HOW IT WORKS.

Uploaded CSVs pass through sniffing, schema validation, profiling stats, weighted 5-pillar scoring, and multi-format exporters.

STAGE 01

Sniffer

UTF-8/Latin-1/CP1252 & delimiter check.

→
STAGE 02

Validator

Headers, constant & null rows check.

→
STAGE 03

Profiler

Types, cardinality, IQR & |z|>3.0.

→
STAGE 04

5-Pillar Math

0.25+0.20+0.20+0.15+0.20 weighted score.

→
STAGE 05

Deliverables

HTML, JSON, MD & auto-cleaned CSV.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

5 PILLARS OF DETERMINISTIC DATA QUALITY.

Key modules, rules, safety checks, and automated test results documented in the repository.

Quality Pillar Weight Penalization Criteria
Completeness 25% Overall missing cell %, all-null rows, 100% empty columns
Uniqueness 20% Exact duplicate rows & candidate primary-key collisions
Validity & Consistency 20% Untrimmed whitespace, stringified numbers, negative anomalies
Structural Integrity + Outliers 20% + 15% = 35% Schema shifts, constant cols, Tukey IQR & |z| > 3.0 counts
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in CSV Data Quality Inspector.

PROFILING ENGINE
Pandas 3.0+ • Python 3.12
DASHBOARD UI
Streamlit 1.40+
OUTLIER MATH
Tukey IQR • Z-Score (|z|>3)
HTML REPORTS
Standalone Jinja / CSS Bundle
CI/CD SCHEMAS
JSON • Markdown • Clean CSV
VERIFICATION
Pytest (25/25 Passed)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for CSV Data Quality Inspector.

Polars streaming execution backend for multi-gigabyte 10GB+ CSV datasets.
Headless CLI Quality Gate command for Git pre-commit and Airflow DAGs.
Scikit-Learn IterativeImputer & KNN imputation integration.
Multivariate Isolation Forest & Local Outlier Factor anomaly panel.
Parquet and Excel (.xlsx) multi-sheet profiling inputs.
Cross-dataset drift comparison between Baseline vs Production drops.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.