I want to generate a an array of ordered numbers and then multiply it into another array :
[ [0,1,2,3,4,5] [0,1,2,3,4,5] [0,1,2,3,4,5] ... [0,1,2,3,4,5] ]
I can generate the first [0,1,2,3,4,5] with nums = np.arange(0, 6) but then if I multiply by a number inside a list it just increases the values = [nums* 3] = [0,3,6,9,12,15].
How can I do this ?
np.repeat(np.arange(0, 6), (4, 1))