How can EDA find data quality issues beyond null counts: missingness patterns, invalid values, inconsistent categories?
Quick Overview
Asks how exploratory data analysis can uncover data quality problems that a missing-value count misses, from structured missingness to invalid values and inconsistent categories. Tests practical data profiling and judgment about how each issue biases an analysis.
How can EDA find data quality issues beyond null counts: missingness patterns, invalid values, inconsistent categories?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
How can EDA help you discover data quality issues beyond just counting missing values, such as patterns of missingness, impossible or invalid values, or inconsistent categories?
Picture a customer table that has just arrived from a new source system. You need to decide whether it is fit for analysis.
```hint Missingness as data
Turn each column into a 0/1 "is missing" flag, then compare those flags across other fields, sources and time.
```
```hint Write the domain first
For each column, write down what a valid value looks like (type, range, allowed codes) before you look, then search for values outside it and for single values that appear suspiciously often.
```
### What a Strong Answer Covers
- How to detect structure in missingness, and what MCAR, MAR and MNAR imply for the analysis
- Checks for impossible values, cross-field contradictions and placeholder values that hide missing data
- How to find inconsistent category spellings, mixed units and mixed formats within one column
- Structural checks such as duplicate rows, broken keys and wrong data types
### Follow-up Questions
- How would you tell whether missingness is MAR or MNAR, given that MNAR depends on values you cannot see?
- A numeric column has 8% of its values equal to exactly 0. How do you decide whether those are real zeros or placeholders?
- How would you turn these checks into automated tests that run every time the table refreshes?
- You find repeated customer IDs whose rows disagree on other fields. How do you decide which record to keep?
Overview: Asks how exploratory data analysis can uncover data quality problems that a missing-value count misses, from structured missingness to invalid values and inconsistent categories. Tests practical data profiling and judgment about how each issue biases an analysis.
How can EDA help you discover data quality issues beyond just counting missing values, such as patterns of missingness, impossible or invalid values, or inconsistent categories?
Picture a customer table that has just arrived from a new source system. You need to decide whether it is fit for analysis.
What a Strong Answer Covers Guidance
How to detect structure in missingness, and what MCAR, MAR and MNAR imply for the analysis
Checks for impossible values, cross-field contradictions and placeholder values that hide missing data
How to find inconsistent category spellings, mixed units and mixed formats within one column
Structural checks such as duplicate rows, broken keys and wrong data types
Follow-up Questions Guidance
How would you tell whether missingness is MAR or MNAR, given that MNAR depends on values you cannot see?
A numeric column has 8% of its values equal to exactly 0. How do you decide whether those are real zeros or placeholders?
How would you turn these checks into automated tests that run every time the table refreshes?
You find repeated customer IDs whose rows disagree on other fields. How do you decide which record to keep?