A

Admin • 828.03K Points
Coach

Q. What does `dropna(axis=1)` do?

  • (A) Removes rows with NaN
  • (B) Removes columns with NaN
  • (C) Fills NaN values
  • (D) Sorts the columns
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
axis=1 applies the operation to columns.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.