pull_requests: 709187466
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
709187466 | MDExOlB1bGxSZXF1ZXN0NzA5MTg3NDY2 | 5692 | closed | 0 | Explicit indexes | 4160723 | <!-- Feel free to remove check-list items aren't relevant to your change --> - [x] Closes many issues: - [x] closes #1366 - [x] closes #1408 - [x] closes #2489 - [x] closes #3432 - [x] closes #4542 - [x] closes #4955 - [x] closes #5202 - [x] closes #5645 - [x] closes #5691 - [x] closes #5697 - [x] closes #5700 - [x] closes #5727 - [x] closes #5953 - [x] closes #6183 - [x] closes #6313 - [x] Tests added - [x] Passes `pre-commit run --all-files` - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - New functions/methods are listed in `api.rst` (new `Index` and `Indexes` API not public yet) Follow-up on #5636 (work in progress), supersedes #2195. This is likely to be going big, sorry in advance! It'll be safer to make a release before merging this PR. Current progress: - [x] create (default) indexes using the `Index` classes - [x] refactor default indexes created when 1st accessing `.xindexes` or `.indexes` - [x] support for non-default indexes (no public API yet) - [x] remove multi-index virtual coordinates (replace it by regular coordinates) - [x] refactor internal (text / html) formatting functions - [x] internal refactor of location-based selection (`.isel()`) - [x] internal refactor of label-based selection (`.sel()`) - [x] internal refactor of `.rename()` - Some changes in behavior (see comments below) - see #4108 - see #4107 - see #4417 - [x] internal refactor of `set_index` / `reset_index` - [x] internal refactor of `stack` / `unstack` - Some changes in behavior (see comments below) - [x] internal refactor of `Dataset.to_stacked_array` - [x] internal refactor of `swap_dims` - [x] internal refactor of `expand_dims` - [x] internal refactor of alignment - [x] internal refactor of `reindex` and `reindex_like` - [x] internal refactor of `interp` and `interp_like` - [x] internal refactor of merge - [x] internal refactor of concat - [x] internal refactor of computation - [x] internal refactor of copy - [x] internal refactor of `update`, `assign`, `__setitem__`, `del`, `drop_vars`, etc. - updates must not corrupt multi-coordinate indexes - [x] internal refactor of `set_coords` and `reset_coords` - internal refactor of `drop_sel` and `drop_isel` (maybe later) - [x] internal refactor of `pad` - [x] internal refactor of `shift` - [x] internal refactor of `roll` TODO: - [x] Uniformize Index API with Xarray's API - [x] rename `Index.query()` -> `Index.sel()`? - [x] rename `PandasMultiIndex.from_product()` -> `PandasMultiIndex.stack()`? Add `Index.stack()` and `Index.unstack()`. - [x] remove `Index.union()` and `Index.intersection()` - [x] Use `Index.create_variables()` internally - [x] remove `PandasIndex.from_pandas_index()` and `PandasMultiIndex.from_pandas_index()` (use constructor + `.create_variables()` instead) - [x] Review where `.xindexes` is used and use private API instead (`._indexes`) if possible for speed - [x] requires that `_indexes` always returns a mapping - [x] Use `from __future__ import annotations` in `indexes.py` - [x] Re-activate default indexes invariant check (with opt-out for some tests) In next PRs: - custom `Index.__repr__` and `Index._repr_inline_` - add an `Indexes` section in `DataArray` / `Dataset` reprs - update public API (`set_index`, `reset_index`, `drop_indexes`, `Dataset` and `DataArray` constructors, etc.) - allow multi-dimensional variables with `name` in `var.dims` | 2021-08-11T15:57:41Z | 2023-08-30T09:26:37Z | 2022-03-17T17:11:44Z | 2022-03-17T17:11:40Z | 3ead17ea9e99283e2511b65b9d864d1c7b10b3c4 | 0 | 77fdaf0e3a268d1d1fbdb6c7aef9abfd07bf0d32 | 29a87cc110f1a1ff7b21c308ba7277963b51ada3 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/5692 |
Links from other tables
- 4 rows from pull_requests_id in labels_pull_requests