home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 426100334

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/2452#issuecomment-426100334 https://api.github.com/repos/pydata/xarray/issues/2452 426100334 MDEyOklzc3VlQ29tbWVudDQyNjEwMDMzNA== 5308236 2018-10-01T23:47:43Z 2018-10-02T14:29:18Z NONE

Thanks @max-sixty, the checks per call make sense, although I still find 0.5 ms insane for a single-value lookup (python dict-indexing takes about a 50th to index every single item in the array).

The reason I'm looking into this is actually multi-dimensional grouping (#2438) which is unfortunately not implemented (the above code is essentially a step towards trying to implement that). Is there a way of vectorizing these calls with that in mind? I.e. apply a method for each group.

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