Using numpy we can convert 1D array to 2D array as, a=np.arange(1,10) a.reshape((3,-1)) array([[1, 2, 3], [4, 5, 6], [7, 8, ...
確定! 回上一頁