Numpy Cheatsheet ================ np.tile np.repeat np.take is much faster than array[index] and np.take() is faster than np.take(out=), unless you use np.take(out=a, mode='wrap'or'clip')