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/6238#issuecomment-1039990176,https://api.github.com/repos/pydata/xarray/issues/6238,1039990176,IC_kwDOAMm_X849_P2g,4160723,2022-02-15T08:24:58Z,2022-02-15T08:24:58Z,MEMBER,"This is indeed confusing. Both `Dataset.rename` and `DataArray.rename` do a bit too much, IMHO. For `Dataset`, I actually prefer using `rename_dims` or `rename_vars` as it is easier to understand. Maybe we could add similar methods for `DataArray` too, e.g., `rename_dims` and `rename_coords`? And also `rename_array`? To go even further, should we eventually depreciate the generic `rename` methods and encourage using the more specific methods? ","{""total_count"": 6, ""+1"": 6, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1124596666