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/3678#issuecomment-573108272,https://api.github.com/repos/pydata/xarray/issues/3678,573108272,MDEyOklzc3VlQ29tbWVudDU3MzEwODI3Mg==,3274,2020-01-10T16:34:02Z,2020-01-10T16:34:02Z,CONTRIBUTOR,"@mathause Thank you! That never occurred to me. I thought it was something wrong with the way I was using conjunction, but now I believe it was just a matter of operator precedence. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,547680465 https://github.com/pydata/xarray/issues/3678#issuecomment-572926797,https://api.github.com/repos/pydata/xarray/issues/3678,572926797,MDEyOklzc3VlQ29tbWVudDU3MjkyNjc5Nw==,10194086,2020-01-10T08:27:10Z,2020-01-10T08:27:10Z,MEMBER,"You can shorthen this using parantheses and `&`: ``` python sel = (other_data_array['bar'] == 12) & (other_data_array['baz'] < 22) foo = data_array.where(sel) ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,547680465 https://github.com/pydata/xarray/issues/3678#issuecomment-572744391,https://api.github.com/repos/pydata/xarray/issues/3678,572744391,MDEyOklzc3VlQ29tbWVudDU3Mjc0NDM5MQ==,3274,2020-01-09T20:38:35Z,2020-01-09T20:38:35Z,CONTRIBUTOR,"@dcherian I know it's kind of overloading this issue, but if you would also LMK if there's a clean way to do compound querying, the way one can in Pandas, I will also put in something about that. ``` foo = data_array.where(np.logical_and(other_data_array['bar'] == 12, other_data_array['baz'] < 22)) ``` ...is all I have come up with and this gets bloated and unreadable really quickly if there are multiple conjuncts. Infix conjunction seems not to work unless I take the `.values` of the data array subsets, which adds its own layer of bloat. I figure this is something that lots of people will want to do, but it seems a lot harder than `pd.DataFrame.query()` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,547680465 https://github.com/pydata/xarray/issues/3678#issuecomment-572742682,https://api.github.com/repos/pydata/xarray/issues/3678,572742682,MDEyOklzc3VlQ29tbWVudDU3Mjc0MjY4Mg==,3274,2020-01-09T20:33:54Z,2020-01-09T20:33:54Z,CONTRIBUTOR,"OK, done. Per my comments, I don't have the ability to build and check the sphinx code, so please check before merging.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,547680465 https://github.com/pydata/xarray/issues/3678#issuecomment-572723468,https://api.github.com/repos/pydata/xarray/issues/3678,572723468,MDEyOklzc3VlQ29tbWVudDU3MjcyMzQ2OA==,2448579,2020-01-09T19:44:15Z,2020-01-09T19:44:15Z,MEMBER,"`ds[""name""] = data_array` Also see `Dataset.assign` A pull request would be very welcome!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,547680465