πŸ“Š Pandas
Q. Which method is used to replace multiple values in a DataFrame at once?
  • (A) fillna()
  • (B) replace()
  • (C) update()
  • (D) substitute()
πŸ’¬ Discuss
βœ… Correct Answer: (B) replace()

Explanation: The replace() method can replace multiple values at once by passing a dictionary mapping old values to new values.

Explanation by: Sikhar Chaudhary
The replace() method can replace multiple values at once by passing a dictionary mapping old values to new values.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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