DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+9 =
Submit