►
Run
numpy.where(condition[, x, y])
Output