A

Admin • 828.03K Points
Coach

Q. What does `inplace=True` do when used with `drop()`?

  • (A) Returns a new DataFrame
  • (B) Modifies the original DataFrame directly
  • (C) Creates a backup
  • (D) Does nothing
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`inplace=True` performs the operation on the original DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.