Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

use loc for change values pandas

df.loc[df.Weight == "155", "Name"] = "John"
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #loc #change #values #pandas
ADD COMMENT
Topic
Name
2+9 =