Build 12 Data Science Apps with Python and Streamlit - Full Course
Vložit
- čas přidán 13. 06. 2024
- 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 CZcams channel for more data science tutorials: / dataprofessor
🔗 And Medium blog posts for more data science tutorials: / data-professor
⭐️ 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
github.com/dataprofessor/stre...
💻 2. Simple Bioinformatics DNA Coun
github.com/dataprofessor/stre...
💻 3. EDA Basketbal
github.com/dataprofessor/stre...
💻 4. EDA Footbal
github.com/dataprofessor/stre...
💻 5. EDA SP500 Stock Pric
github.com/dataprofessor/stre...
💻 6. EDA Cryptocurrenc
github.com/dataprofessor/stre...
💻 7. Classification Iri
github.com/dataprofessor/stre...
💻 8. Classification Penguin
github.com/dataprofessor/stre...
💻 9. Regression Boston Housin
github.com/dataprofessor/stre...
💻 10. Regression Bioinformatics Solubilit
github.com/dataprofessor/stre...
💻 11. Deploy to Heroku
github.com/dataprofessor/peng...
⭐️ More ways to connect with Chanin Nantasenamat ⭐️
✅ Website: dataprofessor.org/
✅ Newsletter: newsletter.dataprofessor.org
✅ Twitter: / thedataprof
✅ FaceBook: / dataprofessor
✅ Instagram: / data.professor
✅ LinkedIn: / chanin-nantasenamat
✅ GitHub: github.com/dataprofessor/
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
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!
When online schools make you pay for an e-textbook which links to youtube videos... That's a slap.
yourAreRght = True
print(yourAreRight)
@@eugenetcgcomputer-guy6103Question= input("Are you a Coder")
@@eugenetcgcomputer-guy6103 Syntax Error line 2
@@HardwareGeek15 “Yes I am”: str
This guy: Builds 12 apps in 3 hours
Me: Writes 10 lines of code in 3 hours
I feel your pain ;)
feel same
So true it physically hurts lmaooo
but that depends what 10lines includes :) you can write deep learning codes in 10 lines only :)
Keep practicing. You will make it one day. Best wishes
Thank you professor ! That's exactly what I needed to make a cool visualisation of my project
Absolutely brilliant, easy , straight to point , confidence booster tutorial with top down approach to learn DS. Subscribed to your channel
right away i get the feeling that you lay things out in a genius fashion this is great and focused upon efficiency and simplification
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.
where put float?
For those that had the ValueError: could not convert string to float for the Basketball EDA project, you need to filter out the non-numeric columns like this "df = df.select_dtypes(include=[float, int])" before doing df.corr()
I cannot thank you enough for this series of projects. It is amazing. Thanks a lot.
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!
This looks really cool! appreciate for sharing the knowledge!
it is absolute insane that this is free. thank you so much
Thanks for watching!
Thank you sir for sharing. best 3 hours of my recent data science journey.
Thank you again. i need more content like this
What did you viewers expect from a professor.
But i still say fantastic. Wonderfully explained. Hope to see more advanced videos
Very good work and exactly this what I was searching for. Thank you so much.
Been searching night and day for a tut like this. Stellar!
Saving this for this weekend! Awesome stuff.
Thanks! Hope you find it helpful! 😊
@@DataProfessor I watched a little bit, very easy to follow. also, subscribed to you!
@@Coolhotriad Glad to hear that the video was helpful 😊
Absolutely remarkable, love how you describe everything
This channel is a godsend. Thank you so much.
Data professor is a great teacher!
Thanks Gustavo!
Ну ты конечно в лужу пернул!
This is the best channel on CZcams. Thank you for sharing your knowledge!
YES! Instant bookmarked for the weekend :)
Awesome!
Incredible! The classification and regression projects gave me a lot of ideas, thanks!
Glad to hear and thanks for watching!
@@DataProfessor hey i have just completed learning pandas shoud i take this tutorial or their are any other pre reqisites also
@@irtazaanwar2144 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.
@@DataProfessor thanks
Very helpful. Clear and simplified. Thank you very much for your efforts and sharing it.
The best video I have watched so far, clear explanations line by line.
onoo
ik ioikoonio
huge and impressive content! Thank you.
Great collaboration thank you data professor 👨🏫
Thanks, a pleasure! 😊
I can't still get over the fact that you designed it so effin well 🤩
Thank you very much Chanin Nantasenamat and freeCodeCamp. I really enjoy watchin, learning and doing alongside the projects.
Just at the right time, much needed 😁
Awesome, thanks for watching!
Much neeeeeded video, pls make more related deployment and containerization for machine learning
Hi dear Chanin,
Thank you SO much, for such excellent tutorials.
I saw the six first,
I love the material, the presentation, the simplicity, and so on.
AMAZING Material!
gab, from Rio Cuarto, Argentina
Saludos desde Cba Capital Gabriel!!!
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.
I have just seen the first project and already subscribed to Data Professor.
I am learning it for deploying my models of capstone project. Really useful video.
Thank you for making such valuable video. Really appreciate the fact thats it’s free!!
Thanks for watching!
I'm not sure if I'm asking the right question, but here goes: I saw a similar article that incorporates docker in deploying Streamlit web apps, may I know what are the advantages of it and how does it differ from this video's current approach?
JUST WHEN NEEDED THIS DUDE APPEARED> 🥰
Duuuuuude 🎉 you are my hero !
I was looking for this !
Awesome dude, your 3 h is more productive than mine XD cant wait fo follow along
Thanks! It's 3 hours across 3 months. 😊
just what i needed. Thank you :D
Thanks for watching!
Chanin, you are great! I am doing Bioinformatics M.Sc. and this video helped me a lot. Streamlit is fun.
Awesome! Glad to hear that Kamran!
@@DataProfessor Hello Data Professor, I have problem with Tutorial 6. EDA Cryptocurrency.
In Line 63: listings = coin_data['props']['initialState']['cryptocurrency']['listingLatest']['data'], there is an error "*** TypeError: string indices must be integers".
Although we put coin_data = json.loads(data.contents[0]) on line 62 still cannot solve.
This also results in the failure to show the whole page content on streamlit. (Only the first side bar, logo and expander_bar show on the page.)
May you help us to solve this problem?
Love it! Thank you sooo much!
Awesome!
Thanks you so much for sharing.
at 6:34 pip install
be careful, if you're using windows you may need to open the cmd as an administrator (right click -> open as administrator)
God bless the guy who made Streamlit
AMEN
Thank you so much. It's really helpful.
It's always pleasure to see you, also am surprised to see you here😀
Thanks to the kind folks on freeCodeCamp for this collaboration, thanks for watching!
*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)
thanks
Great courses and great teacher tanks a lot :)
Thank you Sir. I really appreaciate your effort to teach the world.
Data professor is a Legendary!
Thanks for watching and for the kind words 😊
Stop scrolling down the comment section and watch the video
Stop writing comments and watch the video 😂😂
Haha, hope you enjoyed the video 😆
@@DataProfessor OMG OMG OMG OMG ITS HIM
Gotta 😅
Wait. How did you know?! 😲😲
Who downvotes content like this?! Fantastic resource thanks DataProfessor
Thanks Troy for the support 😊
Why are the examples not in order? i.e. the third chapter talks about a prior penguin application, but that doesn't happen until chapter 9?
Regarding hosting your app on the cloud (streamlit), what happens if you don't get an invite (of the 1 thousand available)?
amazing tutorial, thank you
First time listener, i found your video verry helpful
Great work 👌
Sad to see that many people ignore such kind of gold videos nd prefer to watch tiktok. Thank you guys for making such awesome content. ❤️🙏
Thanks for the support!
DATA PROFESSOR!!! 💪💪💪
Hey Tina, glad to see you here!
@Siraj Haq Thanks! I get that a lot 😆
Thanks a lot for these tutorials
Thanks professor, you rock !
Thanks for sharing your knowledge.
@1:15:26 when you deployed the S&P 500 app that you wrote in Colab. Did you just copy the code and save as .py and deploy as per the previous tutorials? I have tried deploying from colab directly with no success.
Thank you ..Data Professor...It was very helpful..to me...
That simple stock price app is pretty cool. I wonder if you can have it take a user input stock symbol and auto update
Does streamlit allow us to create a front end like that?
This is an unreal learning resource
Thanks all of you!
Thank you, I was looking for some inspiration to marry data science together with an application build. Peferct!
Awesome, thanks for watching!
Amazing video!! just for the newbies like me ... the "beta" word from st.beta_set_page_config(layout="wide") has to be removed as its no longer in beta. So the new way of writing this line would be: st.set_page_config(layout="wide")
Alright, I am back. I got it fixed, no need to worry over my matter. Thanks.
Really Enjoyed!
@Data Professor, how do we modify thet crypto-price-app such that it is able to be refreshed and get its latest data say for every 10 seconds? That would be more useful. Thank You.
hello Data Professor, thanks for these insightful videos. i am getting a key error for 'percent_change_1h' in the cryptocurrency app,please advise.
Awesome!!! TQVM!!
In the third one I got this error:
ArrowTypeError: ("Expected bytes, got a 'int' object", 'Conversion failed for column FG% with type object')
put ' dataFrameSerialization = "legacy" ' instead of ' dataFrameSerialization = "arrow" ' in .streamlit/config.py
@@christianblack2631 how to write that in cmd?
I was searching for streamlit, and got it here🔥🔥
How can we clear the input from a cell automatically instead of doing it manually every time we need to input new data from the same cell.
FREE Python tutorials on CZcams (Playlist): czcams.com/video/6omQ-t9L9Ak/video.html
Epic tutorial, thanks
Thanks for watching!
i just want to say i love you guys
Helpful tutorial...thanks
Is it possible to build an app in python that prints out 4 day on 2 day off work schedule? Lets say we input start date/end date then the program prints out 4 on 2 off schedule based on start date and ends at end date.
Tutorials be like: look this I how you make a header, goes on to explain in detail how to make header. Oh and this 10 lines of web scrapping function that i made is available in another video!!!
Great Video !! No Clickbait, Was exactly what it stated.!!!
Thanks very much Prof for the very good tutorial. I only discovered streamlit this week (first week of January 2022) and I am already loving to work with streamli
The explanations are clear indeed
I have a question on the NBA playerstats app, is there a way to add more selectbox by players only after team is selected?
Hi Ryan, I think that would be possible, we can use an if conditional to show the selectbox of players if a specific team is selected.
Thanks, this help a lot :D
all in all this is great to have so thank you for this video - just to add, it would have been better to add that you should install libraries in virtual environment and never directly on your desktop.
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.
It would be cool to get the list of libraries by inspecting python itself.
Beyond awesome!
This dude's saying "lets build something" and proceeds by copying the whole thing from somewhere
When trying to add the NFL Passing stats as well as Rushing stats I get this error 'AttributeError: 'DataFrame' object has no attribute 'Age''
Does anyone know how to fix this? Thanks
Thanks. Awesome!
Thank you for this powerful training.... Please, I am beginner... How do I know the environment where my streamlit is installed. Also, you activated with Conda after installing with pip, using pd, Please, can you explain? I need help
I think tutorials should not be only scrolling down and telling "we did this, we did that, with that code line" :/
@@YxG6kTfZ3HhcAQP i am not . But i can look from beginners' perspective
What are the pre requisites ?
Excited to learn!!!!
Thank you so much, I needed some light for my studies about DataScience, I'm very lost
A pleasure, thanks for watching!
nice !! perfect for folks starting data science and that too in Python. Really Good. __/\__
Yes, using Streamlit to build Python Web Application is easy. But is it easy to deploy it to a traditional production environment that using Apache and Weblogic as the hosting platforms?
thanks for uploding
I just did your streamlit project from your channel and now after 6 hours you are here again
Haha, thanks!