home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 773700137

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/4687#issuecomment-773700137 https://api.github.com/repos/pydata/xarray/issues/4687 773700137 MDEyOklzc3VlQ29tbWVudDc3MzcwMDEzNw== 14808389 2021-02-05T00:40:45Z 2021-02-05T01:22:46Z MEMBER

Is that because apply_ufunc(..., keep_attrs=True) keeps the attrs of the first argument?

yes, exactly. However, I think it would be easier to extend keep_attrs as described in https://github.com/pydata/xarray/issues/3891#issuecomment-773693380 and allow passing keep_attrs to xr.where.

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