Answers for "how to replace value with another column"

0

column.replace

df.column = df.coloumn.replace('old_value', 'new_value')
Posted by: Guest on January-26-2021
1

replace values in a column by condition python

df.loc[df['employrate'] > 70, 'employrate'] = 7
Posted by: Guest on July-15-2020

Code answers related to "how to replace value with another column"

Python Answers by Framework

Browse Popular Code Answers by Language