##### numpy 取整 ```python np.round(a[, decimals, out]) # 将数组的元素舍入到指定的小数位数 np.around(a[, decimals, out]) # 将数组的元素四舍五入到指定的小数位数 np.rint(x, /[, out, where, casting, order, ...]) # 将数组的元素舍入到最近的整数 [ufunc] np.fix(x[, out]) # 将数组的元素向零方向取整 np.floor(x, /[, out, where, casting, order, ...]) # 将数组的元素向下取整 [ufunc] np.ceil(x, /[, out, where, casting, order, ...]) # 将数组的元素向上取整 [ufunc] np.trunc(x, /[, out, where, casting, order, ...]) # 将数组的元素截断为整数部分 [ufunc] ```