BUG: Ignore_index on concat does not ignore index #39896
Labels
Bug
Needs Info
Clarification about behavior needed to assess issue
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
I have this line of code which works fine in pandas 1.1.5 but not in 1.2.2:
vintable = pd.concat([vintable, data], join='inner', ignore_index=True)
I expect this to concatenate the rows, inner-join the columns, and then reindex - which it used to do in December. But now I get this error: "Reindexing only valid with uniquely valued Index objects." As I read the docs, it should not be looking at the index at all. So, I am fine sticking with 1.1.5 but I think is a bug ... TIA
The text was updated successfully, but these errors were encountered: