python 的flatten()可以將array轉換為一維陣列,預設是order='C',以列為 ... import numpy as np a = np.array([ [1,2,3] ,[4,5,6]]) a.flatten('C')
確定! 回上一頁