home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 264082543

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
264082543 MDU6SXNzdWUyNjQwODI1NDM= 1617 __array_ufunc__ for xarray 1217238 closed 0     2 2017-10-10T02:50:49Z 2018-03-12T20:31:07Z 2018-03-12T20:31:07Z MEMBER      

Now that __array_ufunc__ has appeared in NumPy 1.13, we should be able to resolve a long-standing annoyance with xarray: the inability to use NumPy ufuncs like np.sin() directly on all xarray objects, such as xarray.Dataset.

I believe this could be straightforwardly accomplished by wrapping xarray.core.computation.apply_ufunc.

Some care should be taken to ensure that properly defer to other array types, as suggested in the NEP. This also could be a good time to resolve some of the xarray's broader consistency issues when interacting with and wrapping other array-like types.

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

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.954ms · About: xarray-datasette