Concat 2 arrays horizontally, a = np.arange(1,17).reshape(4,4) b = np.arange(17,33).reshape(4,4)

in this np.hstack() and np.concatenate((a,b),axis=1) gives horizontally.
and np.concatenate((a,b),axis=0) vertically
will u please explain this also