Concatenate with another 1d array does work: In [14]: np.concatenate([A, np.arange(3)]) Out[14]: array([0., 1., 2.]).
確定! 回上一頁