I am trying to concatenate 4 arrays, one 1D array of shape (78427,) and 3 2D array of shape (78427, 375/81/103). Basically this are 4 arrays with features for 78427 images,
I am not sure if you want something like:
a = np.array( [ [1,2],[3,4] ] ) b = np.array( [ 5,6 ] ) c = a.ravel() con = np.concatenate( (c,b ) ) array([1, 2, 3, 4, 5, 6])
OR
np.column_stack( (a,b) ) array([[1, 2, 5], [3, 4, 6]]) np.row_stack( (a,b) ) array([[1, 2], [3, 4], [5, 6]])