Skip to content

Fix StreamlitInvalidWidthError in dataframe rendering#4

Open
dane-anderson wants to merge 1 commit into
dataprofessor:masterfrom
dane-anderson:master
Open

Fix StreamlitInvalidWidthError in dataframe rendering#4
dane-anderson wants to merge 1 commit into
dataprofessor:masterfrom
dane-anderson:master

Conversation

@dane-anderson

Copy link
Copy Markdown

Fix StreamlitInvalidWidthError in dataframe rendering

The app was passing width=None to st.dataframe, which causes a runtime error in newer versions of Streamlit.

Replaced it with use_container_width=True to restore compatibility and ensure responsive layout.

Verified that the app now runs successfully after the change.

@dane-anderson

Copy link
Copy Markdown
Author

Thanks for maintaining this project — happy to help improve compatibility with newer Streamlit versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant