-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TYP: MergeHow + JoinHow #49664
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
TYP: MergeHow + JoinHow #49664
Conversation
MergeHow = Literal["left", "right", "inner", "outer", "cross"] | ||
|
||
# join | ||
JoinHow = Literal["left", "right", "inner", "outer"] |
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.
Join supports cross 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.
typed join with MergeHow
.. used JoinHow
for the indices.
I actually took this from pandas-stubs
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.
Could you check how they type DataFrame.join?
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.
they've used JoinHow
.. i guess that would also require correction?
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.
Yep
thx @debnathshoham |
.merge
- specify string literals for.merge
how
keyword #48503doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.