home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 766470557

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/3232#issuecomment-766470557 https://api.github.com/repos/pydata/xarray/issues/3232 766470557 MDEyOklzc3VlQ29tbWVudDc2NjQ3MDU1Nw== 14808389 2021-01-25T00:33:35Z 2021-01-25T00:33:35Z MEMBER

Looks like you need to patch that internally just a bit, probably adding pytorch to NON_NUMPY_SUPPORTED_ARRAY_TYPES.

defining __array_function__ (and the other properties listed in the docs) should be enough: https://github.com/pydata/xarray/blob/a0c71c1508f34345ad7eef244cdbbe224e031c1b/xarray/core/variable.py#L232-L235

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