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