πŸ“Š Pandas
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

πŸ‘οΈ
47
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
94%
Success Rate