Python: comparing numpy array with sub-numpy array without loop
Python: comparing numpy array with sub-numpy array without loop Question: My problem is quite simple but I cannot figure how to solve it without a loop. I have a first numpy array: FullArray = np.array([0,1,2,3,4,5,6,7,8,9]) and a sub array (not necessarily ordered in the same way): Sub array = np.array([8, 3, 5]) I would like …