Missing data is not just an annoyance - it’s a signal. Each NULL is telling you something about how the process really works.
1. Not All NULLs Are Equal
You can think of missing values in three broad categories:
- ⚪ Not applicable - the field genuinely doesn’t apply (e.g., “Second phone” for most users).
- 🟡 Not collected - the system never asked (for example, the field was added later).
- 🔴 Lost or refused - someone skipped, refused, or a system error happened.
2. A Simple Four-Step Decision Flow
For each important column, walk through this flow:
- 1️⃣ Do we truly need this column to answer our question? If not, you may be able to ignore it.
- 2️⃣ Is the missingness small and random? If yes, you might drop those rows or fill them with a safe default.
- 3️⃣ Is it systematic (whole segments missing)? Then dropping may bias your result. You need to understand the process behind it.
- 4️⃣ Can we turn missingness itself into a feature (e.g., a flag like 'no_email_provided')?
3. Common Strategies by Tool
The same ideas show up with different syntax:
- SQL → COALESCE(), CASE WHEN col IS NULL THEN ..., filtered aggregates.
- Python → .fillna(), .dropna(), rule-based imputations in pandas.
- Excel → IF, ISBLANK, filters, helper columns, and pivot-table filters.
4. Document Your Choices
Two analysts can make very different decisions on the same missing data. What makes you trustworthy is not avoiding NULLs, but explaining your treatment of them.
- Write down which columns you inspected.
- State which rows you dropped and why.
- Explain any filling rules (mean, median, fixed value, previous value, etc.).
- Mention if missingness might hide a pattern in certain groups.
The key is to document your choice. A good analyst can explain why they dropped, filled, or left values missing - not just which function they used.
Try it yourself
IS NULL and COALESCE is Level 3 of Data Cleaning.
The first 3 levels are free · no sign-up needed