home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 341717126

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/1618#issuecomment-341717126 https://api.github.com/repos/pydata/xarray/issues/1618 341717126 MDEyOklzc3VlQ29tbWVudDM0MTcxNzEyNg== 2443309 2017-11-03T14:22:16Z 2017-11-03T14:22:16Z MEMBER

Would something like the following use case be covered by apply_raw:

```Python

def f(a, b, c): ''' inputs: 3 1D Numpy arrays of differing lengths outputs: 1 1D Numpy array like a ''' new = a + b.sum() + c.min() # just an example using all three return new ```

The current apply_ufunc, when applied on NDarrays (eg time,x,y) cannot handle this since it tries to make sure all the inputs are broadcastable with each other.

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