You've learned how to find missing values with .isnull()
and count them with .isnull().sum()
. Now let's practice combining these skills to become a missing data expert.
These are fundamental skills you'll use in every data cleaning project.
Engagement Message
Ready to put your detective skills to work?
Type
Fill In The Blanks
Markdown With Blanks
You have a DataFrame with customer data. Fill in the blanks to first check for missing values, then count them.
Suggested Answers
- isnull
- sum
- isnull
Type
Multiple Choice
Practice Question
Which command would give you the total number of missing values across the entire DataFrame?
A. df.isnull().count()
B. df.isnull().sum().sum()
C. df.isnull().total()
D. df.missing().sum()
Suggested Answers
- A
- B - Correct
- C
- D
