Search
 
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
Name
9+4 =