Symmetric difference on equal MultiIndexes raises TypeError #13490
Labels
Error Reporting
Incorrect or improved errors from pandas
Indexing
Related to indexing on series/frames, not to indexes themselves
Milestone
Calling
symmetric_difference
on two equal multiindices results in a TypeError rather than an empty MultiIndex. This is surprising since callingdifference
on the same multiindices results in the expected empty MultiIndex.Code Sample, a copy-pastable example if possible
Which gives the following error:
Expected Output
output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: