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/2452#issuecomment-426329601,https://api.github.com/repos/pydata/xarray/issues/2452,426329601,MDEyOklzc3VlQ29tbWVudDQyNjMyOTYwMQ==,5308236,2018-10-02T15:58:21Z,2018-10-02T15:58:21Z,NONE,"I posted a manual solution to the multi-dimensional grouping [in the stackoverflow thread](https://stackoverflow.com/a/52612073/2225200). Hopefully, `.sel` can be made more efficient though, it's such an everyday method.","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,365678022 https://github.com/pydata/xarray/issues/2452#issuecomment-426100334,https://api.github.com/repos/pydata/xarray/issues/2452,426100334,MDEyOklzc3VlQ29tbWVudDQyNjEwMDMzNA==,5308236,2018-10-01T23:47:43Z,2018-10-02T14:29:18Z,NONE,"Thanks @max-sixty, the checks per call make sense, although I still find 0.5 ms insane for a single-value lookup (python dict-indexing takes about a 50th to index every single item in the array). The reason I'm looking into this is actually multi-dimensional grouping (#2438) which is unfortunately not implemented (the above code is essentially a step towards trying to implement that). Is there a way of vectorizing these calls with that in mind? I.e. apply a method for each group.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,365678022