方法一ndarray. astype (np.float32) 方法二float_array = np. array ([1.23,3.14,5.12,3.23],dtype=float)
確定! 回上一頁