home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 577408814

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/3716#issuecomment-577408814 https://api.github.com/repos/pydata/xarray/issues/3716 577408814 MDEyOklzc3VlQ29tbWVudDU3NzQwODgxNA== 1217238 2020-01-22T22:07:34Z 2020-01-22T22:07:34Z MEMBER

You can do this yourself pretty easily on top of apply_ufunc, just by passing the outputs into the xarray.Dataset constructor, e.g., python def apply_ufunc_to_dataset(func, *args, names, **kwargs): results = xarray.apply_ufunc(func, *args, **kwargs) return xarray.Dataset(dict(zip(names, results)))

Given how complex apply_ufunc already is I think it is probably cleaner to leave this extension to user code.

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