Array de replicação numpy
numpy.tile(A, reps)
#or if you want to do it along a new axis:
np.repeat(A, reps, axis = 0)
Real Raccoon
numpy.tile(A, reps)
#or if you want to do it along a new axis:
np.repeat(A, reps, axis = 0)