pandas text position left 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'})