logo

Crowdly

Given this dataframe called df:     A   B     C    D 0  a1  NaN   c1   d1 1...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Given this dataframe called df:

    A   B     C    D

0  a1  NaN   c1   d1

1  a2  b2    NaN  d2

2  a3  b3    NaN  d3

3  a4  b4    c4   NaN

df.isna().sum(axis=0) will show the number of NaN's in each:

❌
✅
More questions like this

Want instant access to all verified answers on moodle.conncoll.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!