dpnp.ndarray.__setitem__

method

ndarray.__setitem__(key, value, /)

Set \(\text{self[key]}\) to a value.