Trying to remove the numbers on the left side of the table. Thanks!
Duplicate of:
thank you!
what is solution for this question?
Hi @pavan_kumar
The solution can be found in the following knowledge base article in Streamlitâs documentation: Hide row indices when displaying a dataframe - Streamlit Docs
Happy Streamlit-ing!
Snehan
I tried following the solution using a df but I am getting a space next to the first column. Any thoughts on how to fix it? @snehankekre @GokulNC
You may try this:
st.dataframe(df, use_container_width=True)
Thatâs not st.table though. st.dataframe has nasty, longstanding issue with flickering on mobile devices st.data_editor jitters on mobile/narrow layout (embedded doc example) · Issue #6900 · streamlit/streamlit · GitHub making it unusable in many cases and st.table could work there just fine.
It was quite easy in 1.28 but in 1.28.1 I canât do it again.