home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1266649409

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/issues/7111#issuecomment-1266649409 https://api.github.com/repos/pydata/xarray/issues/7111 1266649409 IC_kwDOAMm_X85Lf4lB 43316012 2022-10-04T09:18:25Z 2022-10-04T09:18:25Z COLLABORATOR

I think the behavior of deepcopy in #7112 is correct. I you really want to prevent the ancillary_variables attrs to be deep-copied as well, you can try to add it to the memo dict in deepcopy, e.g.: python memo = {id(da.attrs["ancillary_variables"]): da.attrs["ancillary_variables"]} da_new = deepcopy(da, memo) (untested!)

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