# welcome to softhunt.net # Python Program illustrating # numpy.tile() import numpy as np np_array_1d = np.array([1,2,3,4]) ans = np.tile(A = np_array_1d, reps = [2,1]) print(ans)