Build 12 Data Science Apps with Python and Streamlit – Full Course
Learn how to build interactive and data-driven web apps in Python using the Streamlit library.
✏️ Course developed by Chanin Nantasenamat (aka Data Professor). Check out his YouTube channel for more data science tutorials:
? And Medium blog posts for more data science tutorials:
⭐️ Course Contents ⭐️
⌨️ (0:00) Introduction
⌨️ (2:54) 1. Simple Stock Price
⌨️ (13:24) 2. Simple Bioinformatics DNA Count
⌨️ (29:44) 3. EDA Basketball
⌨️ (50:39) 4. EDA Football
⌨️ (1:00:48) 5. EDA SP500 Stock Price
⌨️ (1:24:03) 6. EDA Cryptocurrency
⌨️ (1:50:47) 7. Classification Iris
⌨️ (1:58:58) 8. Classification Penguins
⌨️ (2:16:08) 9. Regression Boston Housing
⌨️ (2:27:53) 10. Regression Bioinformatics Solubility
⌨️ (2:54:27) 11. Deploy to Heroku
⌨️ (3:04:37) 12. Deploy to Streamlit Sharing
⭐️ Code ⭐️
? 1. Simple Stock Pric
? 2. Simple Bioinformatics DNA Coun
? 3. EDA Basketbal
? 4. EDA Footbal
? 5. EDA SP500 Stock Pric
? 6. EDA Cryptocurrenc
? 7. Classification Iri
? 8. Classification Penguin
? 9. Regression Boston Housin
? 10. Regression Bioinformatics Solubilit
? 11. Deploy to Heroku
⭐️ More ways to connect with Chanin Nantasenamat ⭐️
✅ Website:
✅ Newsletter:
✅ Twitter:
✅ FaceBook:
✅ Instagram:
✅ LinkedIn:
✅ GitHub:
—
Learn to code for free and get a developer job:
Read hundreds of articles on programming:
And subscribe for new videos on technology every day:
Hi friends, thanks for watching! Hope you enjoyed learning about building data-driven web apps in Python using Streamlit.
Be sure to check out my YouTube channel and connect with me on social media for more Data Science contents!
? Data Professor @ YouTube https://www.youtube.com/dataprofessor?sub_confirmation=1
? Data Professor @ Medium https://medium.com/@chanin.nantasenamat
? Data Professor Newsletter http://newsletter.dataprofessor.org
? Data Professor Twitter: https://twitter.com/thedataprof/
? Data Professor GitHub https://github.com/dataprofessor/
do you know how create an online advertising apis ?
No mean to be rude. I know it’s not your fault by your choice, but every time hear you pronounce S it hurts my ear and distracting my learning. Maybe it’s better you don’t pronounce it at all, like in French H is not pronounced. For example, Simple you can pronounce as Imple we can still understand you perfectly.
Hey there! Fantastic tutorial! However, I encountered a problem of License Certificate in the EDA basketball :
I don’t really understand why this happens. Could I fix it making it through an API?
Thank you so much
I honestly can barely believe this channel exists. If you take the entire channel with all the videos, we literally get an entire college degree worth of learning for free. People can build better careers and improve their entire lives because of this channel. Thanks guys, keep it up please. I have a lot to learn, but I hope I can be successful!
Absolutely brilliant, easy , straight to point , confidence booster tutorial with top down approach to learn DS. Subscribed to your channel
Thank you professor ! That’s exactly what I needed to make a cool visualisation of my project
50:00 this works because the original dataframe has all of its columns as object, you will need to cast to int/float accordingly. So the workaround, export then import as csv, actually casts the data to the correct datatype.
If I had known such a tool and tutorials would be available for free, I would have been born twenty years later. Yet, never too late to appreciate. Thanks!
What did you viewers expect from a professor.
But i still say fantastic. Wonderfully explained. Hope to see more advanced videos
Absolutely remarkable, love how you describe everything
right away i get the feeling that you lay things out in a genius fashion this is great and focused upon efficiency and simplification
Great tutorial! thanks a lot for everything!
I encounter a small bug however when trying to filter the data on the EDA apps as the number of rows, columns don’t update, and neither does the information when trying to select a different year.
Does anyone have any ideas what should I do to fix it?
Which app number?
Incredible! The classification and regression projects gave me a lot of ideas, thanks!
@Data Professor thanks
Glad to hear and thanks for watching!
@Irtaza Anwar This tutorial is definitely beginner friendly, especially the first app can be created in a few lines of code. All other apps are also built in a few lines of code.
@Data Professor hey i have just completed learning pandas shoud i take this tutorial or their are any other pre reqisites also
Worth noting if you’re having problems with installing streamlit check your python version. Updating pip and python to 64bit solved issues for me.
Excellent! Thx for showing how to activate conda environment for the uninititated and running streamlit from cmd …Most tutorials overlook this stuff with that level of ability assumed….great work.
It would be cool to get the list of libraries by inspecting python itself.
*Note* – Currently there is an issue between yfinance and panadas 1.4, resulting in error: ‘Index’ object has no attribute ‘tz_localize’. The yfinance community is aware of the issue and a fix will be deployed soon. In meantime there are two solutions:
1. downgrade back to pandas 1.35
2. Use period=’max’ then filter the data using pandas:
# symbol
symbol = yf.Ticker(“MSFT”)
# get historical market data
hist = symbol.history(period=”max”)
hist = hist.loc[‘2018-01-01′:’2018-01-31’]
st.line_chart(hist.Close)
st.line_chart(hist.Volume)
Very good work and exactly this what I was searching for. Thank you so much.
Great and kudos, Data Professor and hi everyone! This is a very nice concept. While I was trying to implement the Basketball app after running it I encountered some challenges which I tried to fix. But I am kind of stuck right now.
The error I am having shows: “raise errors.StreamlitAPIException(e)
streamlit.errors.StreamlitAPIException: (“Expected bytes, got a ‘int’ object”, ‘Conversion failed for column FG% with typ
e object’)
“. Please any idea from anyone on what really is the problem and the way out of it? I need help. Thanks.
It will be nice one to plot moving averages instead of the Bollinger Bands. For example, to plot the 20, 50 and 200 ma on the same chart.
The latest version of streamlit has some issues with the line “df_selected_team = playerstats[(playerstats.Tm.isin(selected_team)) & (playerstats.Pos.isin(selected_pos))]”, To fix this, add the following lines to your code.
[
test=df_selected_team.astype(str)
st.dataframe(test)
]
and remove the older st.dataframe(df_selected_team)
another way ::
st.dataframe(df_selected_team.astype(str))
I just ran into this error. Thanks for finding the work around code!
Thank you sir for sharing. best 3 hours of my recent data science journey.
Thank you again. i need more content like this