SyntaxFix
Write A Post
Hire A Developer
Questions
As @cs95 mentioned in a comment, to drop only one level, use:
df.reset_index(level=[...])
This avoids having to redefine your desired index after reset.