-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
TYP and DOC: pd.merge accepts Series #41594
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
lithomas1
left a comment
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.
I think you should use DataFrame | Series instead of FrameOrSeriesUnion. (See #40876 for more context)
Thanks for pointing that out. Have now changed it. |
jreback
left a comment
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
|
cc @simonjayhawkins if any comments. |
simonjayhawkins
left a comment
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.
Thanks @Dr-Irv
|
Thanks @Dr-Irv |
I noticed that the docs for
pd.merge()andpd.merge_asof()were requiring the first argument to be aDataFrame, but in fact, they can be aSeries. This PR updates the docs and the types to fix that issue.Didn't think a
whatsnewentry was needed, and I skipped creating an issue, but will do so if required.