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/2824#issuecomment-840809933,https://api.github.com/repos/pydata/xarray/issues/2824,840809933,MDEyOklzc3VlQ29tbWVudDg0MDgwOTkzMw==,5635139,2021-05-13T20:20:52Z,2021-05-13T20:20:52Z,MEMBER,"For any future travelers who come across this: a slight twist on the patterns above is `xr.Dataset({name: ((""dim"",), my_recarray[name]) for name in my_recarray.dtype.names})` — the data will be loaded on a single dimension, and then `.set_index(dim=['a','b'])` can be used to set the appropriate indexes vs variables.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,423016453
https://github.com/pydata/xarray/issues/2824#issuecomment-474686642,https://api.github.com/repos/pydata/xarray/issues/2824,474686642,MDEyOklzc3VlQ29tbWVudDQ3NDY4NjY0Mg==,1217238,2019-03-20T05:09:10Z,2019-03-20T05:09:10Z,MEMBER,"We could potentially pick dimension names automatically, but it's not an entirely obvious this to do since passing a dict of numpy arrays into the `xarray.Dataset` constructor isn't supported (but I guess we could support that).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,423016453
https://github.com/pydata/xarray/issues/2824#issuecomment-474654983,https://api.github.com/repos/pydata/xarray/issues/2824,474654983,MDEyOklzc3VlQ29tbWVudDQ3NDY1NDk4Mw==,2418513,2019-03-20T02:05:55Z,2019-03-20T02:05:55Z,NONE,"I guess I expected it to “just work” since it’s a part of numpy core functionality. (same as you can just pass a recarray to pandas dataframe constructor and it infers the rest, without you having to create a dict of columns manually - there’s only one way to do it so it can be done automatically)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,423016453
https://github.com/pydata/xarray/issues/2824#issuecomment-474645059,https://api.github.com/repos/pydata/xarray/issues/2824,474645059,MDEyOklzc3VlQ29tbWVudDQ3NDY0NTA1OQ==,1217238,2019-03-20T01:13:36Z,2019-03-20T01:13:36Z,MEMBER,"Turning a record array into a dict of arrays is pretty straightforward, e.g.,
`arrays = {name: my_recarray[name] for name in my_recarray.dtype.names}`
You could then pass this into `xr.Dataset`, but you'll also have to set dimension names.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,423016453