無論如何,總是會有需要將NumPy 陣列中的元素取出的時候,NumPy 的陣列基本上與Python 內建 ... import numpy as np >>> a = np.array([1, 2, 3, 4, 5]) >>> a[0] 1 ...
確定! 回上一頁