arr = np.array([10,20,30,40,50,60,70,80,90]) print(arr[[0,2,4,6,8]]) # fancy indexing with list of index print(arr[[0,2,4,6,8]]*5) # fancy indexing with list of index ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results