S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to replace values in a DataFrame or Series?

  • (A) fillna()
  • (B) replace()
  • (C) update()
  • (D) substitute()
  • Correct Answer - Option(B)
  • Views: 30
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
The replace() method replaces specified values with another value in a DataFrame or Series.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics