home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1001667358

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/6112#issuecomment-1001667358 https://api.github.com/repos/pydata/xarray/issues/6112 1001667358 IC_kwDOAMm_X847tDse 2448579 2021-12-27T17:25:10Z 2021-12-27T17:25:10Z MEMBER

Thanks @josephnowak . This is a great idea! 👏🏾 👏🏾 Can you send in a pull request please? We'll need to add the example from your first post as a test.

I think you can replace this dask_array_ops.push with your version: https://github.com/pydata/xarray/blob/3960ea3ba08f81d211899827612550f6ac2de804/xarray/core/dask_array_ops.py#L56-L80

This function is expected to return a dask array, so you can just return the result of cumreduction instead of wrapping it up in a DataArray.

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