blosc2.C2Array.__getitem__#

C2Array.__getitem__(slice_: int | slice | Sequence[slice]) np.ndarray#

Get a slice of the array.

Parameters:

slice_ (int, slice, tuple of ints and slices, or None) – The slice to fetch.

Returns:

out – A numpy.ndarray containing the data slice.

Return type:

numpy.ndarray