home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1198617790

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/6845#issuecomment-1198617790 https://api.github.com/repos/pydata/xarray/issues/6845 1198617790 IC_kwDOAMm_X85HcXS- 14808389 2022-07-28T20:49:07Z 2022-07-28T20:49:07Z MEMBER

Not sure, but maybe cupy.round is not supposed to be called on anything other than cupy (or numpy.ndarray)? If I understand correctly, it is converting everything to cupy (or numpy) using _core.array before actually doing the computation.

Also, my impression of __array__ is that it should only be used to convert custom objects to np.ndarray (usually using np.array or np.asarray)

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