numpy append array to another array code example
Example 1: np array append
>>> import numpy as np
>>> np.append([[0, 1, 2], [3, 4, 5]],[[6, 7, 8]], axis=0)
array([[0, 1, 2],
[3, 4, 5],
[6, 7, 8]])
Example 2: append vector to vector python
Xa = ['a1','a2','a3']
Xb = ['b1','b2','b3']
Xc = ['c1','b2','b3']
resultArray = []
resultArray.append(Xa)
resultArray.append(Xb)
resultArray.append(Xc)