Which method counts missing values per column in Python?
Correct answer
A. df.isnull().sum()
6 views
A. df.isnull().sum()
6 views
isnull() returns booleans; sum() totals them per column.
Asked in: Python Interview Data Libraries
https://docs.python.org/3/library/index.htmlNot sure why the answer is A? Ask here and get an explanation.