Count Missing Values
Some cells of df are missing (None). Return the total number of missing cells in the whole table, as an int.
Example 1
df {"a":[1,null,3],"b":[null,null,"x"]}
returns 3
Three cells are missing.
Constraints
- At least one row and one column
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More pandas problems
- Count Repeated RowsBeginner
- Count Unique CitiesBeginner
- Count in RangeBeginner
- Drop Duplicate PairsBeginner
- Drop a ColumnBeginner
- Everyone ElseBeginner
- Max per ColumnBeginner
- Missing Price NamesBeginner