-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix summaries not ending with a period #24190
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
Conversation
Hello @YuechengWu! Thanks for updating the PR.
Comment last updated on December 10, 2018 at 00:59 Hours UTC |
Codecov Report
@@ Coverage Diff @@
## master #24190 +/- ##
==========================================
- Coverage 92.21% 92.21% -0.01%
==========================================
Files 162 162
Lines 51723 51723
==========================================
- Hits 47695 47694 -1
- Misses 4028 4029 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #24190 +/- ##
=======================================
Coverage 92.21% 92.21%
=======================================
Files 162 162
Lines 51763 51763
=======================================
Hits 47733 47733
Misses 4030 4030
Continue to review full report at Codecov.
|
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.
Looks good, if you don't mind, there are few things we can also fix here.
And you added and committed a scripts/tmp.xlsx
file that shouldn't be in the PR.
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.
The argmin
/ argmax
are deprecated with a function, and is not trivial to change their docstrings. I think we should be able to remove them soon, so don't worry about them.
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.
Sorry, didn't see couple of spaces that shouldn't be there. If you can approve my suggested changes, we're ready to merge.
Co-Authored-By: YuechengWu <[email protected]>
Co-Authored-By: YuechengWu <[email protected]>
@datapythonista I committed those two changes. I think we are ready to go. 👍 |
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, thanks @YuechengWu
@datapythonista my pleasure as always |
@YuechengWu, when you accept changes in the github interface, github creates commits for them. So, now, the history in your local copy and the history in the remote branch diverged (both have a common ancestor, but splitted and they are different now). When you push, git can't simply add your latest commits to the history on the repo. To fix it, is as simple as |
@datapythonista yest, it's working now. Thank you so much. I also reverted "{}" to be "\n{}\n". Let me know if any further changes are required. |
Not sure what you did, but you've got many unrelated changes in this PR. Take a look at the first section here, that should help fix it: https://datapythonista.github.io/blog/useful-git-commands.html |
@datapythonista I tried to clean up the history, it's now in the commit "all my changes in a single commit", let me know if there is anything else. Thanks. |
Check this and the list of commits in the PR: https://github.com/pandas-dev/pandas/pull/24190/files |
@datapythonista I am not sure how those changes regarding #24053 got into my PR. |
I have no idea either, but happens often to many people. If you follow the instructions in the post I sent you, you should be able to fix the PR |
@datapythonista yes, I think I have fixed it now, phew! Thanks for your help, let me know if there is anything else please. |
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, thanks @YuechengWu
@WillAyd merge when you're happy
Thanks @YuechengWu ! |
@datapythonista @WillAyd My pleasure, glad I could help! |
* upstream/master: pct change bug issue 21200 (pandas-dev#21235) DOC: Fix summaries not ending with a period (pandas-dev#24190) DOC: Add back currentmodule to api.rst (pandas-dev#24232) DOC: Fixed implicit imports for whatsnew (v >= version 20.0) (pandas-dev#24199) remove enum import for PY2 compat, xref pandas-dev#22802 (pandas-dev#24170) CI: Simplify Azure Pipelines configuration files (pandas-dev#23111) REF/TST: Add more pytest idiom to indexing/multiindex/test_getitem.py (pandas-dev#24053)
I have fixed all 'Summary does not end with a period' issue except these two:

I couldn't find the linenumbers in the corresponding file, and also couldn't fix it by looking for 'argmin' or 'argmax' in Panda directory. Please advise if there is anything else I could try.
git diff upstream/master -u -- "*.py" | flake8 --diff