home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 592033172

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/2017#issuecomment-592033172 https://api.github.com/repos/pydata/xarray/issues/2017 592033172 MDEyOklzc3VlQ29tbWVudDU5MjAzMzE3Mg== 7441788 2020-02-27T15:55:23Z 2020-02-27T15:55:23Z CONTRIBUTOR

I think the only necessary changes are (a) delete the if method != "__call__" check (https://github.com/pydata/xarray/blob/master/xarray/core/arithmetic.py#L49), and (b) in the apply_ufunc() call, replace ufunc with getattr(ufunc, method) (https://github.com/pydata/xarray/blob/master/xarray/core/arithmetic.py#L71).

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