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/5384#issuecomment-849935768,https://api.github.com/repos/pydata/xarray/issues/5384,849935768,MDEyOklzc3VlQ29tbWVudDg0OTkzNTc2OA==,404832,2021-05-27T20:56:04Z,2021-05-27T20:56:04Z,CONTRIBUTOR,"Interesting! Thanks for the heads-up, @benbovy. I'll keep my eye on that.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,903055859 https://github.com/pydata/xarray/issues/5384#issuecomment-849271660,https://api.github.com/repos/pydata/xarray/issues/5384,849271660,MDEyOklzc3VlQ29tbWVudDg0OTI3MTY2MA==,404832,2021-05-27T02:35:51Z,2021-05-27T02:35:51Z,CONTRIBUTOR,"> I'm not sure how common it is for MultiIndexes to have a single index, but we should be general over any number. That makes sense, and it actually pretty much sums up how I encountered this. My code here is a reduction of a function I wrote that was supposed to work with a fairly general array and subset of its dimensions, and I happened to call it with a one-element dimension list. > We'd definitely take a fix for this. In principle, I'd be happy to help, but I haven't gone into the `xarray` internals at all yet, nor do I have the dev environment set up (in particular, I don't have `conda`), so it would probably take me a while.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,903055859