Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas replace values

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