SyntaxFix
Write A Post
Hire A Developer
Questions
You could also achieve that by renaming the columns:
df.columns = ['a', 'b']
This involves a manual step but could be an option especially if you would eventually rename your data frame.