Math, asked by iamavish9050, 1 year ago

pandas ValueError: cannot reindex from a duplicate axis

Answers

Answered by MonuAhlawat880
1
In my case, this error popped up not because of duplicate values, but because I attempted to join a shorter Series to a Dataframe: both had the same index, but the Series had fewer rows (missing the top few). The following worked for my purposes:
Similar questions