-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat): support ellipsis indexing (#1729)
* (feat): support ellipsis indexing * (chore): release note * (chore): add tests for all axis combinations * (fix): index typing * (feat): add support for 3d ellipsis/error on >1 ellipsis * (fix): `unpack_index` type * (fix): ignore ellipsis in docs * (fix): import * Update docs/conf.py Co-authored-by: Philipp A. <[email protected]> * (chore): `is` instead of `isinstance` checks * (fix): try making `unpack_index` more general-purpose * Apply suggestions from code review Co-authored-by: Philipp A. <[email protected]> * fix test_backed_ellipsis_indexing * (refactor): simplify 3-elem index handling * (refactor): simplify tests * (fix): use correct base-comparison * Update src/anndata/_core/index.py Co-authored-by: Philipp A. <[email protected]> * (fix): use `id` per param * (chore): split ellipsis index * fix types --------- Co-authored-by: Philipp A. <[email protected]>
- Loading branch information
1 parent
437dbc8
commit 0024b82
Showing
8 changed files
with
131 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for ellipsis indexing of the {class}`~anndata.AnnData` object {user}`ilan-gold` |
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