show certain number of decimal places dataframe code example
Example: pandas dataframe print decimal places
pd.set_option('precision', 4)
print(df.to_latex(index=False))
pd.set_option('precision', 4)
print(df.to_latex(index=False))