home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 207066906

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/812#issuecomment-207066906 https://api.github.com/repos/pydata/xarray/issues/812 207066906 MDEyOklzc3VlQ29tbWVudDIwNzA2NjkwNg== 4295853 2016-04-07T19:59:35Z 2016-04-07T23:00:18Z CONTRIBUTOR

@shoyer, it looks like I'll need to have a _reduce_method-like method that doesn't reduce the dimensions, e.g., https://github.com/pydata/xarray/blob/master/xarray/core/common.py#L11. I haven't been able to get the current branch to work properly (it returns a numpy array vs xarray datatype) and seem to be something missing. Am I on the right track that I need to add a new abstract method? This seems overly complicated but I haven't been able to get this to work cleanly otherwise, e.g., trying things like

python f = _func_slash_method_wrapper(method, name) setattr(cls, name, cls._binary_op(f))

Some advice or help to get me out of my naivete would be greatly appreciated. Thanks!

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