Wyrównaj kolumny do lewego pandas Pythona
df.style.set_properties(subset=["col1", "col2"], **{'text-align': 'right'})
Difficult Donkey
df.style.set_properties(subset=["col1", "col2"], **{'text-align': 'right'})
# Test data
df = DataFrame({'text': ['foo', 'bar'],
'number': [1, 2]})
df.style.set_properties(**{'text-align': 'right'})