issue_comments: 322926397
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/1509#issuecomment-322926397 | https://api.github.com/repos/pydata/xarray/issues/1509 | 322926397 | MDEyOklzc3VlQ29tbWVudDMyMjkyNjM5Nw== | 5564291 | 2017-08-16T23:23:38Z | 2017-08-16T23:23:38Z | NONE | Ok, thanks a lot. Just as a comment though, pandas does it differently, and the xarray documentation states that "resample uses essentially the same api as resample in pandas." ``` In [1]: import numpy as np In [2]: import pandas as pd In [3]: x = pd.DataFrame([1, np.nan], pd.date_range('2017-08-01', '2017-08-02')) In [4]: x.resample('D').mean() Out[4]: 0 2017-08-01 1.0 2017-08-02 NaN In [5]: x.resample('D').sum() Out[5]: 0 2017-08-01 1.0 2017-08-02 NaN ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
250751931 |