home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 373576583

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/1995#issuecomment-373576583 https://api.github.com/repos/pydata/xarray/issues/1995 373576583 MDEyOklzc3VlQ29tbWVudDM3MzU3NjU4Mw== 6213168 2018-03-16T01:40:05Z 2018-03-16T01:40:05Z MEMBER

For this specific problem, I think you could solve it with xarray.apply_ufunc by writing something like a gufunc that keeps the reduced axis as size 1 to apply to each chunk, and afterwards summing up along that dimension.

@shoyer could you make an example? That was my first thought but I could not figure out how to make the apply_ufunc do it.

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