S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to count non-null values in a DataFrame?

  • (A) count()
  • (B) sum()
  • (C) size()
  • (D) value_counts()
  • Correct Answer - Option(A)
  • Views: 42
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
The count() method returns the number of non-NA/null values for each column or row.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics