标签: python-3.x
在我的代码中,它对列中的数据进行四舍五入,但是我注意到它是从.6而不是从.5进行四舍五入
a = 2.704500 b = round(a,3) b = 2.704
应为2.705 在Excel Round()函数中寻找相同的行为。