b = np.array([(2.5, 1, 3, 4.5), (5, 6, 7, 8)], dtype = float) #二維陣列建立 ... a.astype(float) # Convert an array to a different type
確定! 回上一頁