Home / Guides

A Practical Data Cleaning Checklist

Data cleaning is not the glamorous part, but it is where most analyses are won or lost. Use this checklist every time and you will catch most problems early.

1. Look before you touch

Check the row count, column names, and a handful of sample rows. Confirm the data covers the time range and groups you expect.

2. Fix types

3. Hunt duplicates

Decide what makes a row unique, then check it. Duplicates quietly inflate totals.

4. Handle missing values on purpose

Is a blank a zero, an unknown, or a not-applicable? Each one needs different treatment. Write down what you decided and why.

5. Check ranges and outliers

Ages of 250, negative quantities, dates in the future. Some are errors; some are the most interesting rows in the file. Investigate before you delete.

6. Standardize categories

"NY", "N.Y." and "New York" are one thing. Make them one value.

7. Keep the raw file untouched

Write code that turns raw into clean so anyone, including future you, can repeat it. Python for Data Analysis is excellent on this topic, and Learning SQL covers the same ideas inside a database.

8. Leave a note

A short README with the data source, date pulled, and every cleaning decision turns a fragile project into a trustworthy one.

Picks that fit this guide

Photos and links go to Amazon. Check the current price, edition and seller there.

Python for Data Analysis, 3rd ed. product photo

Python for Data Analysis, 3rd ed.

By the creator of pandas. The standard guide to cleaning, reshaping and summarizing data in Python.

Check it on Amazon →
Learning SQL product photo

Learning SQL

Gentle, thorough path from SELECT to joins, subqueries and grouping.

Check it on Amazon →
Storytelling with Data product photo

Storytelling with Data

How to turn charts into a clear message people remember.

Check it on Amazon →

Want the full wall of picks, sorted by type? Browse all Top Picks →