最佳答案
I have the following numpy array
import numpy as np
X = np.array([[5.], [4.], [3.], [2.], [1.]])
I want to insert [6.]
at the beginning.
I've tried:
X = X.insert(X, 0)
how do I insert into X?