DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Renaming an index in pandas data frame
df.rename(index={'Republic of Korea':'South Korea'},inplace=True)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Renaming
#index
#pandas
#data
#frame
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit