issue_comments: 1150810485
This data as json
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/pull/6665#issuecomment-1150810485 | https://api.github.com/repos/pydata/xarray/issues/6665 | 1150810485 | IC_kwDOAMm_X85El_l1 | 14808389 | 2022-06-09T08:10:57Z | 2022-06-09T11:32:11Z | MEMBER |
I was referring to the concept rather than the method. The idea is that you can refer to the b = xr.DataArray([0, 1, 2], dims="x", name="b") b.rename("new") b.rename(b="new") # b is the current name with coordsc = xr.DataArray([0, 1, 2], dims="x", coords={"x": ["a", "b", "c"]}, name="c")
c.rename("new", x="y")
c.rename(c="new", x="y")
c.rename({"c": "new", "x": "y"}) # providing both the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1261153511 |