pandas strings in a column left align for one code example
Example: align columns to left pandas python
df.style.set_properties(subset=["col1", "col2"], **{'text-align': 'right'})
df.style.set_properties(subset=["col1", "col2"], **{'text-align': 'right'})