home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 609094164

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/3932#issuecomment-609094164 https://api.github.com/repos/pydata/xarray/issues/3932 609094164 MDEyOklzc3VlQ29tbWVudDYwOTA5NDE2NA== 6815844 2020-04-04T21:54:41Z 2020-04-04T21:54:56Z MEMBER

Is python xr.apply_ufunc(some_exp, ds.x, ds.y, dask='parallelized', output_dtypes=[float], output_sizes={'stats': Nstats}, output_core_dims=[['stats']], vectorize=True) what you want? This gives ```python

<xarray.DataArray (x: 10, y: 20, stats: 5)> array([[[1., 1., 1., 1., 1.], [1., 1., 1., 1., 1.], [1., 1., 1., 1., 1.], ... [1., 1., 1., 1., 1.], [1., 1., 1., 1., 1.]]]) Coordinates: * x (x) int64 0 1 2 3 4 5 6 7 8 9 * y (y) int64 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Dimensions without coordinates: stats

In [26]: ```

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