Skip to content

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

Merged
merged 23 commits into from
Dec 11, 2018

Conversation

YuechengWu
Copy link
Contributor

@YuechengWu YuechengWu commented Dec 10, 2018

I have fixed all 'Summary does not end with a period' issue except these two:
image
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.

@pep8speaks
Copy link

pep8speaks commented Dec 10, 2018

Hello @YuechengWu! Thanks for updating the PR.

Comment last updated on December 10, 2018 at 00:59 Hours UTC

@codecov
Copy link

codecov bot commented Dec 10, 2018

Codecov Report

Merging #24190 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#multiple 90.61% <100%> (ø) ⬆️
#single 43.03% <83.33%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/accessors.py 91.08% <ø> (ø) ⬆️
pandas/core/accessor.py 98.79% <ø> (ø) ⬆️
pandas/core/dtypes/dtypes.py 95.33% <ø> (ø) ⬆️
pandas/core/base.py 97.64% <ø> (ø) ⬆️
pandas/core/arrays/categorical.py 95.4% <ø> (ø) ⬆️
pandas/core/generic.py 96.65% <ø> (ø) ⬆️
pandas/plotting/_core.py 83.58% <ø> (ø) ⬆️
pandas/core/arrays/datetimes.py 98.56% <100%> (ø) ⬆️
pandas/io/json/json.py 92.61% <0%> (-0.48%) ⬇️
pandas/util/testing.py 87.51% <0%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77278ba...88d6664. Read the comment docs.

@codecov
Copy link

codecov bot commented Dec 10, 2018

Codecov Report

Merging #24190 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #24190   +/-   ##
=======================================
  Coverage   92.21%   92.21%           
=======================================
  Files         162      162           
  Lines       51763    51763           
=======================================
  Hits        47733    47733           
  Misses       4030     4030
Flag Coverage Δ
#multiple 90.61% <100%> (ø) ⬆️
#single 43% <100%> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/indexes/accessors.py 91.08% <ø> (ø) ⬆️
pandas/core/accessor.py 98.79% <ø> (ø) ⬆️
pandas/core/dtypes/dtypes.py 95.33% <ø> (ø) ⬆️
pandas/core/base.py 97.64% <ø> (ø) ⬆️
pandas/core/arrays/categorical.py 95.3% <ø> (ø) ⬆️
pandas/core/generic.py 96.65% <ø> (ø) ⬆️
pandas/plotting/_core.py 83.58% <ø> (ø) ⬆️
pandas/core/arrays/datetimes.py 98.56% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6c7f6b...dad7f70. Read the comment docs.

Copy link
Member

@datapythonista datapythonista left a 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.

@datapythonista datapythonista changed the title fix Summary does not end with a period error DOC: Fix summaries not ending with a period Dec 10, 2018
Copy link
Member

@datapythonista datapythonista left a 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.

Copy link
Member

@datapythonista datapythonista left a 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.

@YuechengWu
Copy link
Contributor Author

@datapythonista I committed those two changes. I think we are ready to go. 👍

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @YuechengWu

@YuechengWu
Copy link
Contributor Author

@datapythonista my pleasure as always

@datapythonista datapythonista self-assigned this Dec 11, 2018
@datapythonista
Copy link
Member

@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 git pull from your branch. This will fetch the commits that github added locally, and merge them to your history. Then a push will work.

@YuechengWu
Copy link
Contributor Author

@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.

@datapythonista
Copy link
Member

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

@YuechengWu
Copy link
Contributor Author

YuechengWu commented Dec 11, 2018

@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.

@datapythonista
Copy link
Member

Check this and the list of commits in the PR: https://github.com/pandas-dev/pandas/pull/24190/files

@YuechengWu
Copy link
Contributor Author

@datapythonista I am not sure how those changes regarding #24053 got into my PR.

@datapythonista
Copy link
Member

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

@YuechengWu
Copy link
Contributor Author

@datapythonista yes, I think I have fixed it now, phew! Thanks for your help, let me know if there is anything else please.

Copy link
Member

@datapythonista datapythonista left a 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

@WillAyd WillAyd merged commit 89f0441 into pandas-dev:master Dec 11, 2018
@WillAyd
Copy link
Member

WillAyd commented Dec 11, 2018

Thanks @YuechengWu !

@YuechengWu
Copy link
Contributor Author

@datapythonista @WillAyd My pleasure, glad I could help!

thoo added a commit to thoo/pandas that referenced this pull request Dec 12, 2018
* 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)
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: Fix docstrings error SS03 - Summary does not end with a period
4 participants