home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 835529368

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/5278#issuecomment-835529368 https://api.github.com/repos/pydata/xarray/issues/5278 835529368 MDEyOklzc3VlQ29tbWVudDgzNTUyOTM2OA== 14808389 2021-05-08T21:45:32Z 2021-05-08T21:46:35Z MEMBER

clip dispatches through __array_function__ (it's not a real "ufunc"), so we don't really support that (there's a issue for adding __array_function__, but no progress yet). In general I think we should only support functions which don't have a axis parameter and return NotImplemented for all others, which means clip would be a good candidate.

We currently do have some support for numpy.clip(arr, ...) through __array_wrap__ (so no support for Dataset), not sure if that even allows deviating from a standard?

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