Using st.dataframe with color code (style) but hiding index

Hi,
Is it possible to display a dataframe with a color code (style) but hiding the index ?
Thanks.

1 Like

You can hide the index as below
st.dataframe(df.assign(hack=’’).set_index(β€˜hack’))

Thanks.
I tried already, but this doesn’t work with the color scheme…

this produces an empty column, how can I remove the whole index column? @dataexplorer