SyntaxFix
Write A Post
Hire A Developer
Questions
This works (pandas v'0.19.2'):
df.rename(columns=df.iloc[0])