How to freeze top row when using streamlit table?

I have tried using sticky headers of pandas.

It isn’t working as expected. Is there any workaround for freezing the top row when using st.table?

Have you tried st.dataframe instead of st.table? As you can see in the docs it freezes the first row.

1 Like