issue_comments: 341598412
This data as json
| html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| https://github.com/pydata/xarray/issues/364#issuecomment-341598412 | https://api.github.com/repos/pydata/xarray/issues/364 | 341598412 | MDEyOklzc3VlQ29tbWVudDM0MTU5ODQxMg== | 14136435 | 2017-11-03T00:40:14Z | 2017-11-03T00:40:39Z | CONTRIBUTOR | Hi, being able to pass a ```python import pandas as pd import xarray as xr dates = pd.DatetimeIndex(['2017-01-01 15:00', '2017-01-02 14:00', '2017-01-02 23:00']) da = xr.DataArray([1, 2, 3], dims=['time'], coords={'time': dates}) time_grouper = pd.TimeGrouper(freq='24h', base=15) digging around the source code for xr.DataArray.resample i found thisgrouped = xr.core.groupby.DataArrayGroupBy(da, 'time', grouper=time_grouper) for _, sub_da in grouped: print(sub_da) ``` which prints:
Would it be possible to add a |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
60303760 |