KeyError shows incorrect column name when DataFrame has duplicate columns #13822
Labels
Error Reporting
Incorrect or improved errors from pandas
Indexing
Related to indexing on series/frames, not to indexes themselves
Milestone
I expected to see
KeyError: "['y'] not in index"
.I've tested this on the latest code in master (and on 0.16):
The text was updated successfully, but these errors were encountered: