issue_comments: 448887168
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/pull/2621#issuecomment-448887168 | https://api.github.com/repos/pydata/xarray/issues/2621 | 448887168 | MDEyOklzc3VlQ29tbWVudDQ0ODg4NzE2OA== | 6815844 | 2018-12-20T06:22:38Z | 2018-12-20T06:22:38Z | MEMBER | @shoyer
Thanks. I will take a look the source later.
Selection of non-exsiting level variable should be KeyError, but it gives a 0-size index. ```python
In [8]: ds = xr.DataArray(np.arange(40).reshape(8, 5), dims=['x', 'y'], In [9]: ds.isel(xy=ds['x'] < 4).sel(x=5) # should be KeyError Out[9]: <xarray.DataArray (y: 0)> array([], dtype=int64) Coordinates: * y (y) int64 ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
392535505 |