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/2852#issuecomment-1101512178,https://api.github.com/repos/pydata/xarray/issues/2852,1101512178,IC_kwDOAMm_X85Bp73y,2448579,2022-04-18T15:45:41Z,2022-04-18T15:45:41Z,MEMBER,"You can do this with [flox](https://flox.readthedocs.io/en/latest/generated/flox.xarray.xarray_reduce.html) now. Eventually we can update xarray to support grouping by a dask variable. The limitation will be that the user will have to provide ""expected groups"" so that we can construct the output coordinate.","{""total_count"": 2, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 2, ""rocket"": 0, ""eyes"": 0}",,425320466 https://github.com/pydata/xarray/issues/2852#issuecomment-478563375,https://api.github.com/repos/pydata/xarray/issues/2852,478563375,MDEyOklzc3VlQ29tbWVudDQ3ODU2MzM3NQ==,2448579,2019-04-01T12:43:03Z,2019-04-01T12:43:03Z,MEMBER,It sounds like there is an apply_ufunc solution to your problem but I dont know how to write it! ;),"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,425320466