issues: 1148021907
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1148021907 | I_kwDOAMm_X85EbWyT | 6293 | Explicit indexes: next steps | 4160723 | open | 0 | 3 | 2022-02-23T12:19:38Z | 2023-12-01T09:34:28Z | MEMBER | 5692 is ~~not merged yet~~ now merged ~~but~~ and we can ~~already~~ start thinking about the next steps. I’m opening this issue to list and track the remaining tasks. @pydata/xarray, do not hesitate to add a comment below if you think about something that is missing here.Continue the refactoring of the internalsAlthough in #5692 everything seems to work with the current pandas index wrappers for dimension coordinates, not all of Xarray's internals have been refactored yet to fully support (or at least be compatible with) custom indexes. Here is a list of
I ended up following a common pattern in #5692 when adding explicit / flexible index support for various features (it is quite generic, though, the actual procedure may vary from one case to another and many steps may be skipped):
Relax all constraints related to “dimension (index) coordinates” in Xarray
Indexes repr
Public API for assigning and (re)setting indexesThere is no public API yet for creating and/or assigning existing indexes to Dataset and DataArray objects.
We still need to figure out how best we can (1) assign existing indexes (possibly with their coordinates) and (2) pass index build options. Other public API for index-based operationsTo fully leverage the power and flexibility of custom indexes, we might want to update some parts of Xarray’s public API in order to allow passing arbitrary options per index. For example:
Also:
Documentation
Index types and helper classes built in Xarray
3rd party indexes
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6293/reactions", "total_count": 12, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 6, "rocket": 0, "eyes": 0 } |
13221727 | issue |