home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1275334035

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/7152#issuecomment-1275334035 https://api.github.com/repos/pydata/xarray/issues/7152 1275334035 IC_kwDOAMm_X85MBA2T 73678798 2022-10-11T22:12:13Z 2022-10-11T22:12:13Z CONTRIBUTOR

python def cumsum(..., dim): return xr.apply_ufunc( np.cumsum if skipna else np.nancumsum, obj, input_core_dims=[dim], output_core_dims=[dim], kwargs={"axis": -1}, ) # now transpose dimensions back to input order

I'm running into an issue with variables without the core dimensions. Would it be better to do a work around in cumsum or in apply_unfunc like you mentioned in #6391

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