SyntaxFix
Write A Post
Hire A Developer
Questions
df.index.name should do the trick.
df.index.name
Python has a dir function that let's you query object attributes. dir(df.index) was helpful here.
dir
dir(df.index)