home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 349091429

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/pull/1733#issuecomment-349091429 https://api.github.com/repos/pydata/xarray/issues/1733 349091429 MDEyOklzc3VlQ29tbWVudDM0OTA5MTQyOQ== 1217238 2017-12-04T20:15:49Z 2017-12-04T20:15:49Z MEMBER

when the ranking dimension is missing from an array in the dataset, should we do nothing, or put 1s everywhere ?

Good point, maybe it needs to be slightly more complicated than apply.

Two other options are raise an error (safest) or to drop all such variables from the result. The later is similar to what we do in aggregations like sum() if an argument is non-numeric. I think this is probably the best choice: it strikes a good balance between not returning an invalid result and not raising errors so often as to be annoying.

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