Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BUG: join on column with index #49360
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: join on column with index #49360
Changes from 29 commits
4bf58bd
f4f84f4
00e87ba
a0f6d76
e89cacb
35a4b5d
20add1c
a324be7
eeae11b
f824d73
d95515c
a8c78a0
751e882
4110e2b
66dfff4
c3e5fd2
86fc699
6f6021d
f18b2d2
15f3c9f
a9760ff
f096c0c
aa8ac6d
b1b2ac7
f37d3b4
1cfa627
8dcb0bc
a9b8412
95741d7
ca1e1ed
ced3c5b
76b9310
1c83099
9c28ecf
81ace15
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Might be misreading this but what is the point of this loop? Only ever continues?
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.
this would hit continue, only when it's merging on a col and an index and index already contains correct values
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.
Can you revert this?
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.
this would fail.. since
to_join
is being joined on the index.. the final df would contain that indexthis behaviour is mentioned in the docs for
merge
.. but since join also uses most of the same stuff.. I think they should be consistent?!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.
Hmm not sure I follow - what does this produce now? Why does the monotonicity of the index change?
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.
Previously joined inherited the index from data df. After the change it will inherit from tojoin.
My reason for this to be expected: