issue_comments: 527253633
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/3241#issuecomment-527253633 | https://api.github.com/repos/pydata/xarray/issues/3241 | 527253633 | MDEyOklzc3VlQ29tbWVudDUyNzI1MzYzMw== | 1217238 | 2019-09-02T22:46:14Z | 2019-09-02T22:46:14Z | MEMBER | Can you try merging in the latest version of xarray master into your branch? I think this issue was fixed just recently by https://github.com/pydata/xarray/pull/3254. When I test this myself, both versions seem to do the right thing: ``` In [5]: xr.DataArray(data=np.arange(10).astype(float) * ureg.m).median() Out[5]: <xarray.DataArray ()> <Quantity(4.5, 'meter')> In [6]: xr.DataArray(data=np.arange(10).astype(int) * ureg.m).median() Out[6]: <xarray.DataArray ()> <Quantity(4.5, 'meter')> ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
484097190 |