home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 823930834

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
823930834 MDExOlB1bGxSZXF1ZXN0NTg2MjYxOTgz 5007 Rename map_blocks tasks. 2448579 closed 0     2 2021-03-07T14:27:58Z 2021-03-26T15:58:57Z 2021-03-26T15:58:56Z MEMBER   0 pydata/xarray/pulls/5007

This makes it clearer which tasks are subsetting xarray objects, vs. actually running the user provided function.

  • [ ] Tests added
  • [x] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst

```python import dask

import xarray as xr

da = xr.DataArray( dask.array.zeros((10,), chunks=(3,)), dims="dim_0", coords={"a": (("dim_0",), np.arange(10))}, name="data" )

def func(a): return a.dim_0

da.map_blocks(func).data.visualize() ```

before

after

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5007/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.866ms · About: xarray-datasette