Disable horizontal scrollbar on Dataframe

Ask the community or our support engineers for answers to questions.

When using st.write(df), a horizontal scrollbar is added to the Dataframe. Even when there is plenty of space to show the Dataframe in it’s entirety. Is there a way to disable this scrollbar?

image

Thanks,

st.table produces a static table, which solves the issue in terms of removing the scrollbars. However, this removes both vertical & horizontal scrollbars. I only want to remove the horizontal.