numpy.generic.choose

method

generic.choose()

Scalar method identical to the corresponding array attribute.

Please see ndarray.choose.