5

Organizing and Displaying Content with Columns, Expanders, and NLP Techniques

In this chapter, we will develop all the business logic required for the skeleton app we implemented in Chapter 4. We are going to learn about some extremely important features of Streamlit.

Columns and expanders are two layout features in the Streamlit framework that allow for more flexible and organized display of content in a web application.

Columns allow for dividing the screen horizontally into multiple sections, each with its own content. This is useful for displaying multiple visualizations or data tables side by side, or for separating different parts of the app’s interface. Expanders, on the other hand, allow for collapsing and expanding sections of content ...

Get Web App Development Made Simple with Streamlit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.