📅  最后修改于: 2022-03-11 14:45:35.435000             🧑  作者: Mango
variable.round(3)
round(variable, 3)
print('{: .3f}'.format(variable))
print('{: .3f}'.format(df["y"].mean()))
print("variable : %0.3f" % variable)