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

  • (A) copy()
  • (B) clone()
  • (C) duplicate()
  • (D) replicate()
πŸ’¬ Discuss
βœ… Correct Answer: (A) copy()
Explanation: The copy() method creates a deep copy of a DataFrame to avoid modifying the original data.
Explanation by: Sikhar Chaudhary
The copy() method creates a deep copy of a DataFrame to avoid modifying the original data.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
99%
Success Rate