使用 T 屬性。 import numpy as np # 建立一個2d array my_1d_array = np.arange(10) my_2d_array = my_1d_array.reshape((2, 5)) print ...
確定! 回上一頁