Pythonic way to cut specific elements from numpy array
Why don't you use just c=a[b] as this is the Python way to take the values from array a.
I have a Python list (numpy array) and another list which contains the indices for the location of values from the first array which I want to keep.
Is there a Pythonic way to do this?
I know numpy.delete, but I want to keep the elements and not delete them.