liveBook · Manning

St.dataframe

As explained in Build Python Web Apps with Streamlit

st.dataframe is a Streamlit display function that renders tabular data in an interactive dataframe view.

st.dataframe displays pandas dataframes in a Streamlit interface. It is useful when users need a raw drilldown view alongside a polished dashboard, without replacing the main workflow. section 7.5.1

Show main and comparison data

Place separate dataframes in tabs inside a dialog: render main_df in a Main tab and compare_df in a Compare tab. Passing use_container_width=True lets each view fill the available dialog space. section 7.5.1

How Build Python Web Apps with Streamlit covers it

How deep it goes
Demonstrates dataframe rendering and container sizing, but does not detail styling, editing, or data transformation.
Examples
Uses main and comparison dataframes rendered in separate tabs within a Drilldown dialog.
What it assumes
Assumes pandas dataframes and Streamlit layout basics such as dialogs and tabs.
What you can do after
Apply it via Streamlit to expose filtered tabular results inside a dashboard drilldown.
How it connects
Connects st.dataframe with pandas dataframes, st.dialog, and st.tabs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Python Web Apps with Streamlit. The section links point to the parts of the book it draws on.