Answers for "how to modify the value of a column in dataframe"

0

dataframe change column value

df["column1"].replace({"a": "x", "b": "y"}, inplace=True)
Posted by: Guest on July-05-2021

Code answers related to "how to modify the value of a column in dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language