home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 589850951

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
589850951 MDU6SXNzdWU1ODk4NTA5NTE= 3917 running numpy functions on xarray objects 14808389 open 0     1 2020-03-29T18:17:29Z 2021-07-04T02:00:22Z   MEMBER      

In the pint integration tests I tried to also test calling numpy functions on xarray objects (we provide methods for all of them).

Some of these functions, like numpy.median, numpy.searchsorted and numpy.clip, depend on __array_function__ (i.e. not __array_ufunc__) to dispatch. However, neither Dataset nor DataArray (nor Variable, I think?) define these protocols (see #3643).

Should we define __array_function__ on xarray objects?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3917/reactions",
    "total_count": 3,
    "+1": 3,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 156.658ms · About: xarray-datasette