Section 1 - Instruction

You've learned three approaches to handling missing data: finding it with .isnull(), removing it with .dropna(), and filling it with .fillna(). Now let's practice choosing the right strategy for each situation.

The key is understanding when each approach works best.

Engagement Message

Ready to become a missing data strategist?

Section 2 - Practice

Type

Fill In The Blanks

Markdown With Blanks

You have a customer dataset with 10,000 rows. Only 50 rows have missing email addresses. Fill in the blanks to handle this situation.

Suggested Answers

  • isnull
  • sum
  • dropna
Section 3 - Practice

Type

Sort Into Boxes

Practice Question

Which filling strategy would work best for each scenario? Sort them into the correct categories.

Labels

  • First Box Label: Fill with 0
  • Second Box Label: Fill with Mean

First Box Items

  • Customer purchases
  • Items in cart
  • Order quantity

Second Box Items

  • Product ratings
  • User age
  • Review score
Section 4 - Practice
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal