I have two arrays X
and Y
, X
has size (5000,2351) and Y
has (2351,). I used reshape function for Y
to get size (1,2351). Then I used append function to X
and instead size (5001,2351) I get (117552351,).
Y = Y.reshape(1,-1)
X = np.append(X,Y)
Where is a problem?