home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1292692904

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/7227#issuecomment-1292692904 https://api.github.com/repos/pydata/xarray/issues/7227 1292692904 IC_kwDOAMm_X85NDO2o 43316012 2022-10-26T21:50:02Z 2022-10-26T21:50:02Z COLLABORATOR

I think this PEP is really more important for i.e. numpy. Something like array.sum(axis=1) is more error prone (1 instead of -1 or 2) than xarrays da.sum("time").

But yes, it is mainly for consumers.

Additionally, since xarray has its fancy broadcasting I am not sure that even with a working system we would get meaningful errors from static typecheckers. In numpy Array[Height] + Array[Width] would raise but in xarray this just works...

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