DataFrame float formatting issue

It would be very nice if Streamlit could respect pandas pd.set_option("display.precision", 7) instead of using stylers per DataFrame like df.style.format("{:.7}") in st.write output, for example. Why? Because it is simpler. Suppose one has a df composed by integer and float columns… how would you increase the number of decimal places to 7 in all float columns without using lambda functions? TIA.