I want to get my X values in the shape [X 1].
[X 1]
For this I am using this code:
X = np.array([[value,1] for value in X])
I g