A

Admin • 802.91K Points
Coach

Q. What does `inplace=True` do in pandas?

  • (A) Returns a copy
  • (B) Modifies the original object
  • (C) Deletes the object
  • (D) Raises an error
  • Correct Answer - Option(B)
  • Views: 2
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
With `inplace=True`, operations modify the original DataFrame without returning a new one.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.