# Possible work-around for nested columns

**URL:** <https://discuss.streamlit.io/t/possible-work-around-for-nested-columns/30367>\
**Category:** Using Streamlit\
**Created:** [September 7, 2022, 2:33pm UTC](https://discuss.streamlit.io/t/possible-work-around-for-nested-columns/30367 "2022-09-07T14:33:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishantseth](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nishantseth](https://discuss.streamlit.io/u/nishantseth)\
**Post date:** [September 7, 2022, 2:33pm UTC](https://discuss.streamlit.io/t/possible-work-around-for-nested-columns/30367/1 "2022-09-07T14:33:14Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [September 7, 2023, 2:33pm UTC](https://discuss.streamlit.io/t/possible-work-around-for-nested-columns/30367/2 "2023-09-07T14:33:50Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
