Hi,
Can you help me align the columns to the left and also hide the index?
I tried the following:
df_stock_info_transposed.style.hide_index() # hide the index column
df_stock_info_transposed.style.set_properties(**{‘text-align’: ‘left’}) #align to the left
df_stock_info_transposed.style.set_table_styles([ dict(selector=‘th’, props=[(‘text-align’, ‘left’)] ) ]) #align to the left
But it did not work. Thanks for any info.