How to display long text in Streamlit dataframes with automatic line breaks?

Hey @ttuz,

Unfortunately, this isn’t possible with st.dataframe at the moment. The user will see the full text by selecting the cell:

But it is not yet possible to wrap the rendered cell or change the height of the row. However, you can use st.table (for smaller dataframes) which automatically applies cell wrapping:

1 Like