forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Internal refactor of label-based data selection (pydata#5322)
* xindexes also returns multi-index levels as keys * wip: move label selection into PandasIndex add Index.query() method split pd.Index vs. pd.MultiIndex logic * Revert "xindexes also returns multi-index levels as keys" This reverts commit 261fb78. Let's keep this for later. There are too many places in Xarray that assume that xindexes keys are dimension names. * fix broken tests * remove old code + move/update tests * remove duplicate function * add PandasMultiIndex class + refactor query impl * remove PandasIndex.from_variables for now Add it later in the refactoring when it will be needed elsewhere (e.g., in ``set_index``). * fix broken tests Is this what we want? * prevent loading values for xarray objs in slice * update what's new
- Loading branch information
Showing
10 changed files
with
395 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.