我们的本意是希望它们是整数,但实际上是却是浮点数(float64). >>> b = np.array([1., 2., 3., 4.]) >>> b.dtype dtype('float64') ...
確定! 回上一頁