Data display elements
When you're working with data, it is extremely valuable to visualize that data quickly, interactively, and from multiple different angles. That's what Streamlit is actually built and optimized for.
You can display data via charts, and you can display it in raw form. These are the Streamlit commands you can use to display raw data.

Dataframes
Display a dataframe as an interactive table.
st.dataframe(my_data_frame)

Static tables
Display a static table.
st.table(my_data_frame)

Metrics
Display a metric in big bold font, with an optional indicator of how the metric changed.
st.metric("My metric", 42, 2)

Dicts and JSON
Display object or string as a pretty-printed JSON string.
st.json(my_dict)
Third-party components
These are featured components created by our lovely community. If you don't see what you're looking for, check out our Components Hub app and Streamlit Extras for more examples and inspiration!