numpy.ndarray.round#

方法

ndarray.round(decimals=0, out=None)#

傳回a,其中每個元素四捨五入到給定的小數位數。

完整文件請參閱 numpy.around

參見

numpy.around

等效函式