Quiz: Missing and Duplicated Data
Quiz yourself on missing and duplicated data in pandas series.
Technical Quiz
1.
Look at the given DataFrame ‘df’ below:
a b c
0 1 NaN 3
1 4 5 6
2 7 NaN NaN
How can we get the count of all NaN
values in the DataFrame in Pandas?
A.
df.isna().sum()
B.
df.isna().sum().sum()
C.
df.isna().sum(axis = 1)
D.
df.isna().count()
1 / 5