-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: update the Seriex.idxmax and Series.idxmin docstring #20174
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
DOC: update the Seriex.idxmax and Series.idxmin docstring #20174
Conversation
pandas/core/frame.py
Outdated
def drop(self, labels=None, axis=0, index=None, columns=None, | ||
level=None, inplace=False, errors='raise'): | ||
""" | ||
Drop rows or columns. |
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.
Would like this to mention how the rows are determined. Maybe Drop specified labels from rows or columns
.
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.
some leftovers from the other PR here. But you can give the comment on #20120
pandas/core/frame.py
Outdated
---------- | ||
labels : single label or list-like | ||
Index or column labels to drop. | ||
axis : int or axis name, default 0 |
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.
axis : {0 or 'index', 1 or 'columns'}, default 0
0d3378d
to
eb7fd74
Compare
Codecov Report
@@ Coverage Diff @@
## master #20174 +/- ##
=========================================
Coverage ? 91.7%
=========================================
Files ? 150
Lines ? 49156
Branches ? 0
=========================================
Hits ? 45078
Misses ? 4078
Partials ? 0
Continue to review full report at Codecov.
|
Checklist for the pandas documentation sprint (ignore this if you are doing
an unrelated PR):
scripts/validate_docstrings.py <your-function-or-method>
git diff upstream/master -u -- "*.py" | flake8 --diff
python doc/make.py --single <your-function-or-method>
Please include the output of the validation script below between the "```" ticks:
Parameters args and kwargs don't need types, put them on one line to keep it concise.