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/4011#issuecomment-620592272,https://api.github.com/repos/pydata/xarray/issues/4011,620592272,MDEyOklzc3VlQ29tbWVudDYyMDU5MjI3Mg==,2448579,2020-04-28T13:02:32Z,2020-04-28T13:02:32Z,MEMBER,"Since you know the bins (which are generated with `pd.cut`), you could use the `get_group` function in this PR: https://github.com/pydata/xarray/pull/3691/files and catch the `KeyError` that would be raised.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,607718350 https://github.com/pydata/xarray/issues/4011#issuecomment-620590686,https://api.github.com/repos/pydata/xarray/issues/4011,620590686,MDEyOklzc3VlQ29tbWVudDYyMDU5MDY4Ng==,2448579,2020-04-28T12:59:36Z,2020-04-28T12:59:36Z,MEMBER,"But if there's nothing matching a particular bin, then you have nothing to index the other array?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,607718350