Why cleaning comes before analysis
A model trained on dirty data produces dirty predictions. A report built on inconsistent categories tells a misleading story. Data cleaning is not glamorous, but skipping it is the most common source of wrong conclusions in data work.
Step 1: Check data types
A zip code stored as a number loses leading zeros. A date stored as text cannot be sorted chronologically. The first cleaning step is confirming that every column has the right type — and fixing the ones that do not.
Step 2: Handle missing values
Not all missing values are the same. A blank cell might mean "unknown", "not applicable", or "data entry error". Decide the meaning before choosing a treatment: drop the row, fill with a default, or flag it for review.
Step 3: Standardize categories
If your dataset has "USA", "US", "United States", and "united states" in the same column, any grouping or filtering will give wrong results. Standardize categorical values to a single canonical form.
Step 4: Detect and handle outliers
An age of 999 or a transaction amount of -$50,000 is probably an error. But a genuinely large purchase is not. Look at outliers in context: compare them against the source data before removing them.
Step 5: Remove duplicates
Duplicate rows inflate counts and skew averages. But not every duplicate is accidental — a customer who placed two identical orders on the same day might be real. Check whether the duplication is in the data or in the collection process.
Automate what you can
Manual cleaning does not scale. Tools like edaverse automate the detection side — flagging missing values, type mismatches, and duplicates — while keeping you in the loop for decisions. Review suggestions, apply the ones that fit, and export.