-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
DOC: Updating operators docstrings #20415
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 1 commit
acab08e
1818aeb
86cfd56
b68b61f
13fed5f
8bdbc14
4668c5f
e6eb9b9
db143c4
33ff1e4
e138d92
50e9d98
aa016fd
c2cc037
644273b
240a502
bbcdcbe
a33f003
70950c0
6bcb9b9
e7da1e9
20cbec1
722ae81
4580f7a
49c7b82
1e4e450
ec71a04
25129ff
d344688
eaaee0d
e777e87
6879e89
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -676,6 +676,7 @@ def _get_op_name(op, special): | |
Notes | ||
-------- | ||
Mismatched indices will be unioned together. | ||
`NaN` values are considered different (i.e. `NaN` != `NaN`). | ||
|
||
Examples | ||
-------- | ||
|
@@ -725,8 +726,7 @@ def _get_op_name(op, special): | |
B True True True True True | ||
C True True True True True | ||
|
||
Compare to a DataFrame of different shape by axis where both 'index' and | ||
'columns' return same results. | ||
Compare to a DataFrame of different shape. | ||
|
||
>>> other = pd.DataFrame({{'revenue': [300, 250, 100, 150]}}, | ||
... index = ['A', 'B', 'C', 'D']) | ||
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. same as before 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. A28BUsually we would use 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. @ParfaitG can you fix the |
||
|
@@ -736,13 +736,7 @@ def _get_op_name(op, special): | |
B 250 | ||
C 100 | ||
D 150 | ||
>>> df.gt(other, axis='index') | ||
cost revenue | ||
A False False | ||
B False False | ||
C False True | ||
D False False | ||
>>> df.gt(other, axis='columns') | ||
>>> df.gt(other) | ||
cost revenue | ||
A False False | ||
B False False | ||
|
Uh oh!
There was an error while loading. Please reload this page.