Python 中與資料型別相關函式及屬性有如下三個:type/dtype/astype。 ... c=np.array([x,y,z]) print(c.dtype) #>>>int64 d=np.array([1+2j,2+3j ...
確定! 回上一頁