-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
No TimeGrouper docs, Day-of-Week resampling? #14760
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
Comments
There are these docs for
The frequency options are listed here: http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases (and this is linked to at several places, but I see that the docstring of Grouper has a too general link to the timeseries page).
This is not a frequency (it does not give you a timeseries). But such grouping is indeed very useful, and can be obtained with @naught101 If you have specific points were those docs can be improved, we would really love to hear it (or get a PR to fix it :-)). More eyes give better docs. |
None of those pages you linked to actually mentions 'TimeGrouper`. Nor does TimeGrouper appear in the 'API reference' section of the docs. It has built-in documentation, is there a reason that isn't included in the API docs? Sorry, re-sampling was probably not the right word.. yes, that day of week works fine for my purposes.. |
|
@naught101 yes, sorry, forgot to mention that all my references were to |
(cherry picked from commit 2bd9c95)
TimeGrouper isn't really mentioned in the docs at all. In particular, it'd be nice to know what the grouping options are. I assume they're the same as resample's options? I also can't find a simple list of those.
In particular, weekly grouping is doable via
'W'
, but I can't find that listed in the docs anywhere.It would also be really nice to have a
'DoW'
(Day of Week) grouping option - this can be really useful for any data with a human signal in it.The text was updated successfully, but these errors were encountered: