pandas map format round number code example
Example 1: pandas format float decimal places
pd.options.display.float_format = '{:,.2f}'.format
Example 2: pandas dataframe print decimal places
pd.set_option('precision', 4)
print(df.to_latex(index=False))