I’m new to Streamlit and I’m having trouble getting the data frames to format properly. Is there a kind soul out there that would give me an hour of your time and point me in the right direction?
Not sure what anyone would charge to get me going in the correct direction.
Basic concept
Mysql DB
Query app that allows filters be set
Then save report out to PDF or something like that
There are 3-4 filters.
My big problem now is getting the entire DF to display.
If you don’t mind doing this async, you can feel free to ask your questions in this thread, either me or others in the community can chime in.
I’ll provide my thoughts below:
Using a database in your Streamlit app, there’s actually a wide range of options for you to choose from. There’s a dedicated page in the Streamlit Docs that provides an in-depth step-by-step tutorial on getting started in using a database in your Streamlit app.
Query apps via filters can be done using interactive widgets such as st.selectbox, st.multiselect where you have a predefined set of parameters that when users select can be transferred to your custom data filter code. Likewise, st.text_input or st.text_area can be used to accept user text input and st.number_input can be used to accept numerical input.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.