-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: fix DataFrame.nlargest and DataFrame.nsmallest doctests #23202
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: fix DataFrame.nlargest and DataFrame.nsmallest doctests #23202
Conversation
Hello @Moisan! Thanks for submitting the PR.
|
Codecov Report
@@ Coverage Diff @@
## master #23202 +/- ##
==========================================
+ Coverage 92.18% 92.23% +0.04%
==========================================
Files 161 161
Lines 51184 51197 +13
==========================================
+ Hits 47185 47220 +35
+ Misses 3999 3977 -22
Continue to review full report at Codecov.
|
lgtm. @jschendel @datapythonista pls merge if ok with you. |
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; will wait a bit for @datapythonista to review prior to merging
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, just a typo and we can merge
Co-Authored-By: Moisan <[email protected]>
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.
Merging on green. Thanks @Moisan
…fixed * upstream/master: Run Isort on tests-> util,sereis,arrays (pandas-dev#23501) DOC: Fix syntax error in groupby docs (pandas-dev#23498) DOC: Fix DataFrame.nlargest and DataFrame.nsmallest doctests (pandas-dev#23202) DOC: Remove dead link and update links to https (pandas-dev#23476)
git diff upstream/master -u -- "*.py" | flake8 --diff
Based on #22459. Fix the docstring for
DataFrame.nlargest
andDataFrame.nsmallest
(since they are quite similar). I also updatedci/code_check.sh
I extended the existing doctest ofSeries.nlargest
andSeries.nsmallest
.