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/5120#issuecomment-815114683,https://api.github.com/repos/pydata/xarray/issues/5120,815114683,MDEyOklzc3VlQ29tbWVudDgxNTExNDY4Mw==,14808389,2021-04-07T18:03:58Z,2021-04-07T18:03:58Z,MEMBER,"you could also use the [`to_dataset`](https://xarray.pydata.org/en/latest/generated/xarray.DataArray.to_dataset.html) method:
```python
foo.to_dataset()
# or, if foo.name is None
foo.to_dataset(name=""bar"")
```","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,851622923
https://github.com/pydata/xarray/issues/5120#issuecomment-814438086,https://api.github.com/repos/pydata/xarray/issues/5120,814438086,MDEyOklzc3VlQ29tbWVudDgxNDQzODA4Ng==,5635139,2021-04-06T21:02:02Z,2021-04-06T21:02:02Z,MEMBER,Hi @skgbanga — yes that's currently the recommended way.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,851622923