-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
BUG: Index.intersection casting to object instead of numeric #38122
Conversation
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.
lgtm pls add a whatsnew note (1.2 fine)
this = self.astype("O") | ||
other = other.astype("O") | ||
dtype = find_common_type([self.dtype, other.dtype]) | ||
this = self.astype(dtype) |
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.
prob nbd but can do copy=False
already has whatsnew. mind if i add the copy=False in the next pass? lots in the pipeline |
sure |
I don't know if it was this PR (from this range 65319af...f04ec86), but the |
Ah, might also be #36927 |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff