df = pd.DataFrame([123.4567, 234.5678, 345.6789, 456.789], index=['foo',
    'bar', 'baz', 'quux'], columns=['cost'])
df['foo'] = df['cost']
How to display pandas DataFrame of floats using a format string for columns?