Answers for "dataframe change specicf values in column"

0

dataframe change column value

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

dataframe change specicf values in column

df['column name'] = df['column name'].replace(['old value'],'new value')
Posted by: Guest on September-22-2021

Code answers related to "dataframe change specicf values in column"

Python Answers by Framework

Browse Popular Code Answers by Language