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’)
修改 Numpy 数组输出宽度及其他属性
增加或减少 Numpy 数组维度
Enter search terms or a module, class or function name.