Skip to content

DOC: Clarify use of resample bins (#14888) #17940

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
Oct 23, 2017

Conversation

reidy-p
Copy link
Contributor

@reidy-p reidy-p commented Oct 21, 2017

@codecov
Copy link

codecov bot commented Oct 21, 2017

Codecov Report

Merging #17940 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #17940      +/-   ##
==========================================
- Coverage   91.23%   91.22%   -0.02%     
==========================================
  Files         163      163              
  Lines       50113    50113              
==========================================
- Hits        45723    45714       -9     
- Misses       4390     4399       +9
Flag Coverage Δ
#multiple 89.03% <ø> (ø) ⬆️
#single 40.31% <ø> (-0.06%) ⬇️
Impacted Files Coverage Δ
pandas/core/generic.py 92.53% <ø> (ø) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/frame.py 97.75% <0%> (-0.1%) ⬇️

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 058da72...0baae11. Read the comment docs.

@codecov
Copy link

codecov bot commented Oct 21, 2017

Codecov Report

Merging #17940 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #17940      +/-   ##
==========================================
- Coverage   91.23%   91.22%   -0.02%     
==========================================
  Files         163      163              
  Lines       50113    50113              
==========================================
- Hits        45723    45714       -9     
- Misses       4390     4399       +9
Flag Coverage Δ
#multiple 89.03% <ø> (ø) ⬆️
#single 40.31% <ø> (-0.06%) ⬇️
Impacted Files Coverage Δ
pandas/core/generic.py 92.53% <ø> (ø) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/frame.py 97.75% <0%> (-0.1%) ⬇️

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 058da72...520ad6d. Read the comment docs.

@jreback jreback added Docs Resample resample method labels Oct 22, 2017
@jreback jreback added this to the 0.21.0 milestone Oct 22, 2017

ts.resample('5Min', label='left').mean()

ts.resample('5Min', label='left', loffset='1s').mean()

It is important to note that the default values for ``label`` and ``closed``
is 'left' for all frequency offsets except for 'M', 'A', 'Q', 'BM',
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 make this a note:: so it stands out a bit more?

@jorisvandenbossche jorisvandenbossche merged commit 5b99ae2 into pandas-dev:master Oct 23, 2017
@jorisvandenbossche
Copy link
Member

@reidy-p Thanks!

peterpanmj pushed a commit to peterpanmj/pandas that referenced this pull request Oct 31, 2017
@reidy-p reidy-p deleted the resample_bins branch November 6, 2017 19:46
No-Stream pushed a commit to No-Stream/pandas that referenced this pull request Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Resample resample method
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Odd behavior with .resample('SM')
3 participants