S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which function is used to drop a column or row from a DataFrame?

  • (A) drop()
  • (B) remove()
  • (C) delete()
  • (D) discard()
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey

The drop() method removes specified rows or columns from a DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.