默认保留整数,计算方法是四舍五入。 这里是一些例子import numpy as np>>> np.around([0.37, 1.64])array([ 0., 2.])> ...
確定! 回上一頁