astype (dtype) with dtype as int to convert the float array numpy.ndarray into an array of integers. print(float_array).
確定! 回上一頁