Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename column in pandas with second row

In [23]: df.columns = df.iloc[1]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rename #column #pandas #row
ADD COMMENT
Topic
Name
1+2 =