Skip to content

DOC: minor groupby and resampler improvements #19514

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 2 commits into from
Feb 4, 2018

Conversation

topper-123
Copy link
Contributor

  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

Some minor improvements to groupby and resampler. In particular:

  • Corrected a link under groupby.pipe
  • added "Notes" and "See Also" for NDFrame.groupby/resample
  • shortened an example in groupby.rst

@codecov
Copy link

codecov bot commented Feb 2, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #19514   +/-   ##
=======================================
  Coverage   91.62%   91.62%           
=======================================
  Files         150      150           
  Lines       48714    48714           
=======================================
  Hits        44633    44633           
  Misses       4081     4081
Flag Coverage Δ
#multiple 89.99% <100%> (ø) ⬆️
#single 41.75% <0%> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/groupby.py 92.15% <ø> (ø) ⬆️
pandas/core/generic.py 95.91% <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 bc1d027...49714e8. Read the comment docs.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

minor comments. ping on green.

@@ -1230,7 +1230,7 @@ code more readable. First we set the data:
import numpy as np
n = 1000
df = pd.DataFrame({'Store': np.random.choice(['Store_1', 'Store_2'], n),
'Product': np.random.choice(['Product_1', 'Product_2', 'Product_3'], n),
'Product': np.random.choice(['Product_1','Product_2'], n),
Copy link
Contributor

Choose a reason for hiding this comment

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

can you put back the formatting. this is not lint compatbile

@jreback jreback added this to the 0.23.0 milestone Feb 4, 2018
@topper-123
Copy link
Contributor Author

All green.

@jorisvandenbossche jorisvandenbossche merged commit de39a15 into pandas-dev:master Feb 4, 2018
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
@topper-123 topper-123 deleted the clean_pipe_docs branch May 18, 2018 18:09
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.

3 participants