I have
x = np.array([[1, 5], [2, 8]])
x.shape
The shape of x is (2,2)
How do I make new array y, that will contain 40 different arrays of the same shape x? The desired y array should be of dimension (40,2,2)
When I try y = np.expand_dims(x, axis=1) it gives me shape (2, 1, 2). I don't understand how numpy append things in different axes... Thanks!