S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to create a copy of a DataFrame?

  • (A) copy()
  • (B) clone()
  • (C) duplicate()
  • (D) replicate()
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
The copy() method creates a deep copy of a DataFrame to avoid modifying the original data.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics