import numpy as np a = np.array([1,2,3,4,5]) print(a[0]) # 1 print(a[1]) # 2. 對於多維的ndarray 陣列,可以使用「索引值串列」的方式,讀取指定的項目內容,下方 ...
確定! 回上一頁