Possible work-around for nested columns


I have 2 st.expander() components lined side by side (col1, col2).
Inside the first expander (col1), I would like to add 2 more columns for viewing 2 dataframes side by side. (say, df1 and df2).

On trying to implement this by putting an st.column component inside another, I became aware of the fact that Streamlit does not support nested columns.

I’d like to know if this can be done by another solution? (work-around)

Thank you,
Nishant Seth