Skip to content

Conversation

@briochh
Copy link
Collaborator

@briochh briochh commented Aug 11, 2020

Fixing issues with duplicated indicies in pandas.index.intersection() #162

Pandas 1.1 changed behaviour of index.intersection() to return duplicated indicies in the intersection.
This causes issues in the application of mults as .loc methods propagate this duplication (doubling duplicates).
Adding .drop_duplicates() to the intersection fixes this.

Pandas 1.1 changes behaviour of index.intersection() to return duplicated indicies in the intersection.
This causes issues in the application of mults as .loc[] methods propagate this duplication (doubling duplicates).

adding .drop_duplicates() to the intersection fixes this.
@briochh briochh merged commit c059d0e into pypest:develop Aug 12, 2020
@briochh briochh deleted the hotfix_applymult_broadcast branch August 2, 2021 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant