Q. Which method is used to create a copy of a DataFrame?
β
Correct Answer: (A)
copy()
Explanation: The copy() method creates a deep copy of a DataFrame to avoid modifying the original data.