df.reset_index() fails with a multi index with Nan's #14604
Labels
Duplicate Report
Duplicate issue or pull request
Indexing
Related to indexing on series/frames, not to indexes themselves
MultiIndex
I believe this is the same issue as #6322 .
The code below returns the error:
IndexError: cannot do a non-empty take from an empty axes.
To get the result I wanted:
The text was updated successfully, but these errors were encountered: