To concatenate 1D Numpy arrays vertically, we can use the np.vstack(~) method. ... [3, 4]]). filter_none Copy. Notice how we end up with a 2D Numpy array.
確定! 回上一頁