caterva.NDArray.__getitem__¶
-
NDArray.
__getitem__
(key)¶ Get a (multidimensional) slice as specified in key.
- Parameters
- key: int, slice or sequence of slices
The index for the slices to be updated. Note that step parameter is not honored yet in slices.
- Returns
- out: NDArray
An array, stored in a non-compressed buffer, with the requested data.