home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 455179590

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/2674#issuecomment-455179590 https://api.github.com/repos/pydata/xarray/issues/2674 455179590 MDEyOklzc3VlQ29tbWVudDQ1NTE3OTU5MA== 1217238 2019-01-17T13:54:33Z 2019-01-17T13:54:33Z MEMBER

Is there a conceptual overlap between the goals of .reduce and apply_ufunc? I had initially thought that .reduce strictly reduced a dimension, though that's not actually the case given cumsum

Yes, I think so. reduce() is a simpler but complementary model to apply_ufunc.

Maybe we should rename reduce() to something like apply_axis_func() or apply_over_dim? I would use the name apply_along_axis but the numpy function of the same name does something different.

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