-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Update join docs for other param #46850
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
Changes from 2 commits
22c54af
36eec5b
48048db
7811306
bb002f8
436f5d3
76ead79
b12f42e
e3c1fd3
3b04d62
f72bbdd
7c1c113
0a241c0
e83bace
f72a5b5
6d17dc9
75436c8
f48213f
b79e66c
4ba0ce0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9379,7 +9379,7 @@ def _append( | |
|
||
def join( | ||
self, | ||
other: DataFrame | Series, | ||
other: DataFrame | Series | list[DataFrame | Series], | ||
on: IndexLabel | None = None, | ||
how: str = "left", | ||
lsuffix: str = "", | ||
|
@@ -9395,7 +9395,7 @@ def join( | |
|
||
Parameters | ||
---------- | ||
other : DataFrame, Series, or list of DataFrame | ||
other : DataFrame, Series, or list of either of these | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this should say "or list of DataFrames, Series, or both". "Either of these" implies that it has to be all one type. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I went with "or a list containing any combination of DataFrames and Series", if that's okay |
||
Index should be similar to one of the columns in this one. If a | ||
Series is passed, its name attribute must be set, and that will be | ||
used as the column name in the resulting joined DataFrame. | ||
|
@@ -9537,7 +9537,7 @@ def join( | |
|
||
def _join_compat( | ||
self, | ||
other: DataFrame | Series, | ||
other: DataFrame | Series | list[DataFrame | Series], | ||
on: IndexLabel | None = None, | ||
how: str = "left", | ||
lsuffix: str = "", | ||
|
Uh oh!
There was an error while loading. Please reload this page.