home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 349831900

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/1765#issuecomment-349831900 https://api.github.com/repos/pydata/xarray/issues/1765 349831900 MDEyOklzc3VlQ29tbWVudDM0OTgzMTkwMA== 14314623 2017-12-07T01:27:43Z 2017-12-07T01:27:43Z CONTRIBUTOR

Upon some more testing it seems the problem is related to how I pass the argument bins to apply_ufunc. python input_core_dims=[dims, dims, ['dummy']],

The bins are always going to be a 1D array that I want to pass identically for each call to _func. I thought by giving it a "dummy" core_dim I would achieve that. If I hardcode the bins into _func and remove the third input argument (and corresponding core_dim) from apply_ufunc the results are as expected.

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