-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REGR: Outer merge failing with integer and NaN keys #43553
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
debnathshoham
commented
Sep 13, 2021
- closes REGR: outer join with integer key and NaNs failing #43550
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
@@ -2571,3 +2571,18 @@ def test_mergeerror_on_left_index_mismatched_dtypes(): | |||
df_2 = DataFrame(data=["X"], columns=["C"], index=[999]) | |||
with pytest.raises(MergeError, match="Can only pass argument"): | |||
merge(df_1, df_2, on=["C"], left_index=True) | |||
|
|||
|
|||
def test_merge_outer_with_NaN(): |
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 parameterize with Int64 as well
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 we switch left and right too? Changing lvals to rvals above would have fixed the issue but caused the inverse to fail
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.
done and done
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. @phofl over to you
thx @debnathshoham |
…ys (#43566) Co-authored-by: Shoham Debnath <[email protected]>