某些時候Numpy的陣列就像是Python內建的list型態,但Numpy提供更有效率的儲存和操作。 ... x = np.array([1,2,3]) print('x----->', x) x_reshape = x.reshape((3,1)) ...
確定! 回上一頁