Minimal working example:
import pandas as pd
df = pd.DataFrame({
'letters':('A', 'B', 'C'),
'numbers':(0.1111, 0.2222, 0.3333)
}).set_index('letters')
df.style.format('{:.2f}')
Result:
Out[4]: <pandas.io.formats.style.Styler at 0x7f963f826eb8>
What I want:
Something similar to the default Jupyter output:
