-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DEPR: Index.reindex with duplicate index #42568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pandas/core/indexes/base.py
Outdated
@@ -3888,6 +3888,15 @@ def reindex( | |||
if self.equals(target): | |||
indexer = None | |||
else: | |||
if not self.is_unique: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't you need to do this on L3912? e.g. raise if those conditions are tru first. also don't we know that its unique at this point?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't you need to do this on L3912? e.g. raise if those conditions are tru first
sure, will move this down
also don't we know that its unique at this point?
nope
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment
Discussed on this week's call.