numpy.recarray.round#

method

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

返回将 a 中每个元素四舍五入到指定小数位数后的结果.

完整文档请参考 numpy.around .

参见

numpy.around

等效函数