If you want to change the display in a Jupyter Notebook, you can use the Style feature.
# Test data
df = DataFrame({'text': ['foo', 'bar'],
'number': [1, 2]})
df.style.set_properties(**{'text-align': 'right'})

If you want to change the display in a Jupyter Notebook, you can use the Style feature.
# Test data
df = DataFrame({'text': ['foo', 'bar'],
'number': [1, 2]})
df.style.set_properties(**{'text-align': 'right'})
