DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to change values in dataframe python
energy
[
'Country'
]
=
energy
[
'Country'
]
.
replace
(
[
'Afghanistan'
,
'Albania'
]
,
[
'Sa'
,
'lol'
]
)
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#change
#values
#dataframe
#python
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit