blosc2.NDField.__setitem__# NDField.__setitem__(key: int | slice | Sequence[slice], value: np.ndarray | NDArray | NDField) → None# Set a slice of self to a value. Parameters: key¶ (int or slice or Sequence[slice]) – The slice to be set. value¶ (np.ndarray or NDArray or NDField) – The value to be set.