Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas replace values

df.replace([0, 1, 2, 3], [4, 3, 2, 1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #replace #values
ADD COMMENT
Topic
Name
3+3 =