>>> import numpy as np
>>> a1 = np.arange(10).reshape(5,2)
>>> a2 = np.random.randint(10,50,size=(5,2))
>>> print(a1)
[[0 1]
[2 3]
[4 5]
[6 7]
[8 9]]
>>> print(a2)
[[23 42]
[39 28]
[39 19]
[49 46]
[33 29]]
>>> a1 = np.column_stack((a1,np.zeros((a1.shape[0],1))))
>>> a2 = np.column_stack((a2,np.ones((a2.shape[0],1))))
>>> np.vstack((a1,a2))
array([[ 0., 1., 0.],
[ 2., 3., 0.],
[ 4., 5., 0.],
[ 6., 7., 0.],
[ 8., 9., 0.],
[23., 42., 1.],
[39., 28., 1.],
[39., 19., 1.],
[49., 46., 1.],
[33., 29., 1.]])