Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename multiple value in column in pandas

df['column name'] = df['column name'].replace(['1st old value','2nd old value',...],'new value')
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #rename #multiple #column #pandas
ADD COMMENT
Topic
Name
1+1 =