dpnp.select

dpnp.select(condlist, choicelist, default=0)[source]

Return an array drawn from elements in choicelist, depending on conditions.

For full documentation refer to numpy.select.

Limitations

Arrays of input lists are supported as dpnp.ndarray. Parameter default is supported only with default values.