pd.options.display.float_format = '${:,.2f}'.format
df["instanceId"] = df["instanceId"].map('${:,.0f}'.format) df["prob"] = df["prob"].map('${:,.6f}'.format)