Search
 
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
Name
6+8 =