issue_comments: 338855039
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/1651#issuecomment-338855039 | https://api.github.com/repos/pydata/xarray/issues/1651 | 338855039 | MDEyOklzc3VlQ29tbWVudDMzODg1NTAzOQ== | 5635139 | 2017-10-24T02:40:35Z | 2017-10-24T02:40:35Z | MEMBER | Right, but numpy functions return the original type? ``` In [6]: da=xr.DataArray(np.random.rand(2,4)) In [12]: np.sum(da, axis=1) Out[12]: <xarray.DataArray (dim_0: 2)> array([ 0.880766, 2.058156]) Dimensions without coordinates: dim_0 In [14]: np.flip(da, 1) Out[14]: <xarray.DataArray (dim_0: 2, dim_1: 4)> array([[ 0.279932, 0.307569, 0.291855, 0.001411], [ 0.681486, 0.556972, 0.083212, 0.736487]]) Dimensions without coordinates: dim_0, dim_1 ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
267826297 |