NUMPY python
How do I add a 1d array as a column to a 2d array?
The 1d array is (49, ) and the 2d array is (50,4)
ex:
x=[1,1,1,1,
1,1,1,1,
1,1,1,1,
1,1,1,1]
y=[2,
2,
2]
and i need to output z as
z = [1,1,1,1,2,
1,1,1,1,2,
1,1,1,1,2,
1,1,1,1 ]