DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pd df rename along index
df.rename({1: 2, 2: 4}, axis='index')
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#pd
#df
#rename
#index
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit