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/1486#issuecomment-327723107,https://api.github.com/repos/pydata/xarray/issues/1486,327723107,MDEyOklzc3VlQ29tbWVudDMyNzcyMzEwNw==,2443309,2017-09-07T08:06:48Z,2017-09-07T08:06:48Z,MEMBER,"closed via #1496
@peteron30 - The next release of xarray will have a [3-argument where](http://xarray.pydata.org/en/latest/generated/xarray.where.html#xarray.where) that should serve your purposes.
```Python
X = xr.where(Rule, X_day, X_night)
```
Feel free to reopen this if your use case is not met.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,245186903