home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1150582510

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-1150582510 https://api.github.com/repos/pydata/xarray/issues/6665 1150582510 IC_kwDOAMm_X85ElH7u 5635139 2022-06-09T01:45:57Z 2022-06-09T01:46:07Z MEMBER

in pint-xarray we have the .pint.to method which uses a very similar concept, maybe it is worth copying that for rename?

We do want it to be fluent though, so it can be directly on the DataArray, otherwise you can't do:

python ( da .rename(...) .sum(...) )

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1261153511
Powered by Datasette · Queries took 71.242ms · About: xarray-datasette