S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which pandas function is used to check if elements in a DataFrame are null?

  • (A) isnull()
  • (B) isna()
  • (C) Both A and B
  • (D) notnull()
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey
Both isnull() and isna() can be used interchangeably to detect missing values in pandas.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.