Q. Which method is used to replace values in a DataFrame or Series?
β
Correct Answer: (B)
replace()
Explanation: The replace() method replaces specified values with another value in a DataFrame or Series.