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