you can use numpy.concatenate: >>> np.concatenate([my_array, [[[3]]]], 1) array([[[1], [2], [3]]]).
確定! 回上一頁