home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 248957341

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/964#issuecomment-248957341 https://api.github.com/repos/pydata/xarray/issues/964 248957341 MDEyOklzc3VlQ29tbWVudDI0ODk1NzM0MQ== 1924092 2016-09-22T16:34:44Z 2016-09-22T16:34:44Z MEMBER

@shoyer - I agree on 3) that it might too much to pack in to xr.apply. As one possibility, here's a half-implemented (probably buggy!) wrapper that would allow this:

``` python @xarray_gufunc @numba.guvectorize(['void(f8[:], f8[:])'], '(n)->()') def std_gufunc(arr, out): out[0] = np.std(arr)

std_gufunc(arr, dims=('x',)) ```

https://gist.github.com/chris-b1/d28c6b8e78bf65ef7eb97e1095bc87f2

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