forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor __getitem__() by removing vectorized and orthogonal indexing logic from it * implement explicit routing of vectorized and outer indexers * Add VectorizedIndexer and OuterIndexer to ScipyArrayWrapper's __getitem__ method * Refactor indexing in LazilyIndexedArray and LazilyVectorizedIndexedArray * Add vindex and oindex methods to StackedBytesArray * handle explicitlyindexed arrays * Refactor LazilyIndexedArray and LazilyVectorizedIndexedArray classes * Remove TODO comments in indexing.py * use indexing.explicit_indexing_adapter() in scipy backend * update docstring * fix docstring * Add _oindex_get and _vindex_get methods to NativeEndiannessArray and BoolTypeArray * Update indexing support in ScipyArrayWrapper * Update xarray/tests/test_indexing.py Co-authored-by: Deepak Cherian <[email protected]> * Fix assert statement in test_decompose_indexers * add comments to clarifying why the else branch is needed * Add _oindex_get and _vindex_get methods to _ElementwiseFunctionArray * update whats-new * Refactor apply_indexer function in indexing.py and variable.py for code reuse * cleanup --------- Co-authored-by: Deepak Cherian <[email protected]> Co-authored-by: Deepak Cherian <[email protected]>
- Loading branch information
1 parent
3dcfa31
commit c9d3084
Showing
8 changed files
with
137 additions
and
55 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
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.