If I have a numpy array
a = np.repeat([i for i in range(10)], 1000)
and another numpy array
b = np.arange(10, 20)
How do I insert the values of b into a based on index? So that all 0 = 10, 1 = 11 and so on. Is there something similar to matlab where you can say b(a)
b[a]?