import numpy as npa=np.array([1,2,3])b=np.array([4,5,6])c=np.c_[a,b] # column stackprint(a) #[1 2 3]print(c) """[[1 4] [2 5] [3 6]]"""