在numpy模組中,我們經常會使用resize 和reshape,在具體使用中,通常是 ... import numpy as np X=np.array([1,2,3,4,5,6,7,8]) X_2=X.reshape((2,4)) ...
確定! 回上一頁