Change the data type of elements in the NumPy array. Use ndarray.astype x = np.array([0,1,2.0,3.0,4.2],dtype=np.float32) ...
確定! 回上一頁