3. Building a Database Query Application#

Now that you know the basics of Streamlit and some of its more advanced features, then it comes time to put that knowledge to practice. In this chapter, we will design a Streamlit application from scratch. It will be built around the Titanic dataset that we used in the Pandas portion of this textbook. We will not only design this application, we will also put it in the cloud so that users can access it.

In Section 1 of this chapter we will walk through the basics of designing the application in Python. In Section 2, we will then focus on getting our application running in the cloud. The purpose of this chapter is to give you hands-on experience with designing an application as well as provide a template for you to use in a future project that requires querying a Pandas dataframe in Streamlit.