ndarray.flatten(): 把多維陣列收合成一維陣列(扁平化&Copy) ... import numpy as np a = np.logspace(0,2,5) print(a) # 结果[ 1. 3.16227766 10.
確定! 回上一頁