A

Admin • 828.03K Points
Coach

Q. What is the default axis for `drop()` in pandas?

  • (A) axis=0 (rows)
  • (B) axis=1 (columns)
  • (C) axis=None
  • (D) axis='index'
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
By default, `drop()` removes rows (axis=0).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.