issue_comments: 239556426
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/964#issuecomment-239556426 | https://api.github.com/repos/pydata/xarray/issues/964 | 239556426 | MDEyOklzc3VlQ29tbWVudDIzOTU1NjQyNg== | 5635139 | 2016-08-12T20:50:24Z | 2016-08-12T20:50:32Z | MEMBER | Thanks for thinking through these
I think that makes sense.
The way I was thinking about it: both ``` python assert set(other.dims) =< set(da.dims) assert set(bool_array.dims) =< set(da.dims) other, _ = xr.broadcast(other, da) bool_array, _ = xr.broadcast(bool_array, da) da.where(bool_array, other) ``` Is that consistent with the joins you were thinking of? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
170779798 |