1. Learn
  2. /
  3. Courses
  4. /
  5. Feature Engineering for Machine Learning in Python

Connected

Exercise

Finding the missing values

While having a summary of how much of your data is missing can be useful, often you will need to find the exact locations of these missing values. Using the same subset of the StackOverflow data from the last exercise (sub_df), you will show how a value can be flagged as missing.

Instructions 1/3

undefined XP
  • 1

    Print the first 10 entries of the DataFrame.

  • 2

    Print the locations of the missing values in the first 10 rows.

  • 3

    Print the locations of the non-missing values in the first 10 rows.