I am trying to concatenate two numpy arrays to add an extra column: array_1 is (569, 30) and array_2 is is (569, )
combined = np.concatenate((array_1, array_2), axis=1)
I thought this would work if I set axis=2 so it will concatenate vertically. The end should should be a 569 x 31 array.
The error I get is ValueError: all the input arrays must have same number of dimensions
Can someone help?
Thx!