Expand description
Advanced indexing operations (NumPy
-like boolean masking, fancy indexing, etc.)
Advanced indexing operations for ndarray
This module provides enhanced indexing capabilities including boolean
masking, fancy indexing, and advanced slicing operations similar to
NumPy
’s advanced indexing functionality.
Functions§
- boolean_
mask_ 1d - Boolean mask indexing for 1D arrays
- boolean_
mask_ 2d - Boolean mask indexing for 2D arrays
- diagonal
- Extract a diagonal or a sub-diagonal from a 2D array
- fancy_
index_ 2d - Fancy indexing for 2D arrays with pairs of index arrays
- indices_
where_ 1d - Extract indices where a 1D array meets a condition
- indices_
where_ 2d - Extract indices where a 2D array meets a condition
- take_1d
- Indexed slicing for 1D arrays
- take_2d
- Take elements from a 2D array along a given axis using indices from another array
- take_
along_ axis - Return elements from a 2D array along an axis at specified indices
- where_
1d - Where function - select elements based on a condition for 1D arrays
- where_
2d - Where function - select elements based on a condition for 2D arrays
Type Aliases§
- Indices
Result - Result type for coordinating indices