-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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. |
jschendel
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; will wait a bit for @datapythonista to review prior to merging
datapythonista
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, just a typo and we can merge
Co-Authored-By: Moisan <[email protected]>
datapythonista
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.
Merging on green. Thanks @Moisan
git diff upstream/master -u -- "*.py" | flake8 --diffBased on #22459. Fix the docstring for
DataFrame.nlargestandDataFrame.nsmallest(since they are quite similar). I also updatedci/code_check.shI extended the existing doctest ofSeries.nlargestandSeries.nsmallest.