A

Admin • 828.03K Points
Coach

Q. What will `df.empty` return?

  • (A) True if DataFrame has only NaN values
  • (B) True if DataFrame has no rows and columns
  • (C) False always
  • (D) Length of DataFrame
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`empty` is True only when DataFrame has no data at all.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.