Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dataframe change column value

df["column1"].replace({"a": "x", "b": "y"}, inplace=True)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #dataframe #change #column
ADD COMMENT
Topic
Name
4+1 =