import numpy as np a = np.array([1,2,3], dtype=int) # 建立1*3維陣列array([1,2,3]) type(a) # numpy.ndarray型別 a.shape # 維數資訊(3L,) ...
確定! 回上一頁