# Dataframe width problem

**URL:** <https://discuss.streamlit.io/t/dataframe-width-problem/36981>\
**Category:** Using Streamlit\
**Tags:** pandas\
**Created:** [February 1, 2023, 10:25am UTC](https://discuss.streamlit.io/t/dataframe-width-problem/36981 "2023-02-01T10:25:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MyungjinYoo](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/myungjinyoo/32/22483_2.png) [@MyungjinYoo](https://discuss.streamlit.io/u/MyungjinYoo)\
**Post date:** [February 1, 2023, 10:25am UTC](https://discuss.streamlit.io/t/dataframe-width-problem/36981/1 "2023-02-01T10:25:56Z")

</div>

![image](https://global.discourse-cdn.com/streamlit/original/3X/d/e/de8c6b2a61deecd40b8a6f9020e540f044360353.png)  
 ![image](https://global.discourse-cdn.com/streamlit/original/3X/0/1/0194b118f056ca4cfdf0c33217bf222d3688c07a.png)

i am trying to stretch this dataframe but dataframe(data, width, height) doesn’t works.  
it seems like width have maximum size in my data

fig, ax = plt.subplots(2,2, figsize=(20,10))  
…  
st.pyplot(fig)  
st.dataframe(table)

---

<div class="post-metadata">

**Author:** ![Goyo](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/goyo/32/28219_2.png) [@Goyo](https://discuss.streamlit.io/u/Goyo)\
**Post date:** [February 1, 2023, 12:22pm UTC](https://discuss.streamlit.io/t/dataframe-width-problem/36981/2 "2023-02-01T12:22:28Z")

</div>

In the hamburger menu (top right), choose **Settings** and check the **Wide mode** checkbox.

---

<div class="post-metadata">

**Author:** ![TomJohn](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/tomjohn/32/19953_2.png) [@TomJohn](https://discuss.streamlit.io/u/TomJohn)\
**Post date:** [February 1, 2023, 12:56pm UTC](https://discuss.streamlit.io/t/dataframe-width-problem/36981/3 "2023-02-01T12:56:16Z")

</div>

Additionaly, you can change page layout using st.set\_page\_config 🙂

> **[st.set\_page\_config - Streamlit Docs](https://docs.streamlit.io/library/api-reference/utilities/st.set_page_config)**
>
> st.set\_page\_config configures the default settings of the page.

---

<div class="post-metadata">

**Author:** ![MyungjinYoo](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/myungjinyoo/32/22483_2.png) [@MyungjinYoo](https://discuss.streamlit.io/u/MyungjinYoo)\
**Post date:** [February 1, 2023, 2:00pm UTC](https://discuss.streamlit.io/t/dataframe-width-problem/36981/4 "2023-02-01T14:00:02Z")

</div>

Thank you so much!!

---

<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:** [February 1, 2024, 2:00pm UTC](https://discuss.streamlit.io/t/dataframe-width-problem/36981/5 "2024-02-01T14:00:09Z")

</div>

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