issue_comments: 266587849
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/1161#issuecomment-266587849 | https://api.github.com/repos/pydata/xarray/issues/1161 | 266587849 | MDEyOklzc3VlQ29tbWVudDI2NjU4Nzg0OQ== | 743508 | 2016-12-12T23:32:19Z | 2016-12-12T23:33:03Z | CONTRIBUTOR | Thanks, I've been looking around and I think i'm getting close, however i'm not sure the best way to turn the array slice i get from vindex into a DataArray variable. I'm thinking I might but together a draft PR for comments. This is what i have so far: ```python def isel_points(self, dim='points', **indexers): """Returns a new dataset with each array indexed pointwise along the specified dimension(s).
return concat([self.isel(**d) for d in[dict(zip(keys, inds)) for inds inzip(*[v for k, v in indexers])]],dim=dim, coords=coords, data_vars=data_vars)``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
195050684 |