issues: 1869879398
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1869879398 | PR_kwDOAMm_X85Y8P4c | 8118 | Add Coordinates `set_xindex()` and `drop_indexes()` methods | 4160723 | open | 0 | 0 | 2023-08-28T14:28:24Z | 2023-09-19T01:53:18Z | MEMBER | 0 | pydata/xarray/pulls/8118 |
I don't think that we need to copy most API from Dataset / DataArray to ```python import dask.array as da import numpy as np import xarray as xr coords = ( xr.Coordinates( coords={"x": da.arange(100_000_000), "y": np.arange(100)}, indexes={}, ) .set_xindex("x", DaskIndex) .set_xindex("y", xr.indexes.PandasIndex) ) ds = xr.Dataset(coords=coords) <xarray.Dataset>Dimensions: (x: 100000000, y: 100)Coordinates:* x (x) int64 dask.array<chunksize=(16777216,), meta=np.ndarray>* y (y) int64 0 1 2 3 4 5 6 7 8 9 10 ... 90 91 92 93 94 95 96 97 98 99Data variables:emptyIndexes:x DaskIndex``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |