I have an array of index tuples and I would like to use it to pick out values from a multidimensional numpy array,
import numpy a = numpy.random.rand(10, 1
You could convert the transposed version of idx to a tuple and then index for a vectorized solution -
idx
a[tuple(np.transpose(idx))]