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/6607#issuecomment-1126587818,https://api.github.com/repos/pydata/xarray/issues/6607,1126587818,IC_kwDOAMm_X85DJl2q,1217238,2022-05-14T00:10:13Z,2022-05-14T00:10:13Z,MEMBER,"> We could raise an error asking the user to switch to `swap_dims`.
This seems like a good idea
In the long term, we like to decouple indexes from coordinate, and make something like the following work:
```
ds.set_coords(['lon']).rename(x='lon').set_index('lon')
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1235725650