📅  最后修改于: 2022-03-11 14:46:36.625000             🧑  作者: Mango
df['var2'] = pd.Series([round(val, 2) for val in df['var2']], index = df.index)
df['var3'] = pd.Series(["{0:.2f}%".format(val * 100) for val in df['var3']], index = df.index)