SyntaxFix
Write A Post
Hire A Developer
Questions
You could use str.slice for that:
str.slice
df.columns = df.columns.str.slice(1)