Question · Python course · Module 8: Data Science

Checking for Missing Data

How do you check the number of missing values in each DataFrame column?

Answer options

  • df.isnull().sum()
  • df.missing()
  • df.count_nulls()
  • df.empty()

You can check the correct answer by solving this task in the CodeWorlds game.