Ausrichten von Spalten nach links Pandas Python
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'})