Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas df make set index column

df.reset_index(inplace=True)
df = df.rename(columns = {'index':'new column name'})
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #pandas #df #set #index #column
ADD COMMENT
Topic
Name
6+9 =