home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 525298264

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/3258#issuecomment-525298264 https://api.github.com/repos/pydata/xarray/issues/3258 525298264 MDEyOklzc3VlQ29tbWVudDUyNTI5ODI2NA== 6213168 2019-08-27T13:21:44Z 2019-08-27T13:21:44Z MEMBER

Hi,

A few design opinions:

  1. could we call it just "map"? It makes sense as this thing would be very useful for non-dask based arrays too. Working routinely with scipy (chiefly with scipy.stats transforms), I tire a lot of writing very verbose xarray.apply_ufunc calls.

  2. could we have it as a method of DataArray and Dataset, to allow for method chaining?

e.g. python myarray.map(func1).chunk().map(func2).sum().compute()

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