pandas print style formatted dataframe code example Example: dataframe format style df.style.format("{:.2f}")