format a 2 decimal float to currency pandas code example Example: pandas format float decimal places pd.options.display.float_format = '{:,.2f}'.format