Why can\'t I index an ndarray using a list of tuple indices like so?
idx = [(x1, y1), ... (xn, yn)] X[idx]
Instead I have to do something u
Use tuple of numpy arrays which can be directly passed to matrix to get the elements
numpy
Index = tuple(np.array(list(zip(*index_tuple)))) new_array = list(prev_array[index])