home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1515600072

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/7721#issuecomment-1515600072 https://api.github.com/repos/pydata/xarray/issues/7721 1515600072 IC_kwDOAMm_X85aVjjI 5534781 2023-04-20T01:50:58Z 2023-04-20T01:50:58Z NONE

Thanks, Justus, for expanding on this. It sounds to me the question is "how do we cast dtypes when multiple array libraries are participating in the same computation?" and I am not sure I am knowledgable enough to make any comment.

From the array API point of view, long long ago we decided that this is UB (undefined behavior), meaning it's completely up to each library to decide what to do. You can raise or come up with a special rule that you can make sense of.

It sounds like Xarray has some machinery to deal with this situation, but you'd rather prefer to not keep special-casing for a certain array library? Am I understanding it right?

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