所有都格式化
pd.options.display.float_format = '${:,.2f}'.format
指定格式化
df["instanceId"] = df["instanceId"].map('${:,.0f}'.format)
df["prob"] = df["prob"].map('${:,.6f}'.format)
pd.options.display.float_format = '${:,.2f}'.format
df["instanceId"] = df["instanceId"].map('${:,.0f}'.format)
df["prob"] = df["prob"].map('${:,.6f}'.format)