1numpy.r_[a, a],
2numpy.stack([a, a]).reshape(-1),
3numpy.hstack([a, a]),
4numpy.concatenate([a, a])
1# append two 1d arrays python
2a = np.array([0, 1, 2])
3b = np.array([3, 4, 5])
4c = np.concatenate((a, b), axis=0)
5print(c)
6
7# Output
8# [0 1 2 3 4 5]