Skip to content
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: Updated cookbook to show usage of Grouper instead of TimeGrouper… #16794

Merged
merged 3 commits into from
Jul 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions doc/source/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -776,11 +776,17 @@ Resampling

The :ref:`Resample <timeseries.resampling>` docs.

`TimeGrouping of values grouped across time
<http://stackoverflow.com/questions/15297053/how-can-i-divide-single-values-of-a-dataframe-by-monthly-averages>`__
Copy link
Member

Choose a reason for hiding this comment

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

I would paybe try to update the stackoverflow post?

In any case, the Grouper docs in itself are not a good reference for "Using Grouper to group values across time"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jorisvandenbossche thank you for reviewing. I'm sorry I'm new to this, it'll be great if you could guide me on this.

I'll definitely try and update the stackoverflow post.

In any case, the Grouper docs in itself are not a good reference for "Using Grouper to group values across time"

Should I instead include some examples to show the usage of Grouper to group values across time?

`Using Grouper instead of TimeGrouper for time grouping of values
<https://stackoverflow.com/questions/15297053/how-can-i-divide-single-values-of-a-dataframe-by-monthly-averages>`__

`TimeGrouping #2
<http://stackoverflow.com/questions/14569223/timegrouper-pandas>`__
`Time grouping with some missing values
<https://stackoverflow.com/questions/33637312/pandas-grouper-by-frequency-with-completeness-requirement>`__

`Valid frequency arguments to Grouper
<http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases>`__

`Grouping using a MultiIndex
<https://stackoverflow.com/questions/41483763/pandas-timegrouper-on-multiindex>`__

`Using TimeGrouper and another grouping to create subgroups, then apply a custom function
<https://github.com/pandas-dev/pandas/issues/3791>`__
Expand Down