numpy.recarray.round #

方法

重新排列。舍入(小数= 0,输出=无)#

返回a,其中每个元素四舍五入到给定的小数位数。

请参阅numpy.around完整文档。

也可以看看

numpy.around

等价函数