Build 12 Data Science Apps with Python and Streamlit - Full Course

Sdílet
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

Komentáře • 534

  • @TheGrandmaster1
    @TheGrandmaster1 Před 3 lety +214

    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!

  • @rinkujain1245
    @rinkujain1245 Před 3 lety +607

    This guy: Builds 12 apps in 3 hours
    Me: Writes 10 lines of code in 3 hours

    • @bluesdog88
      @bluesdog88 Před 3 lety +15

      I feel your pain ;)

    • @adiflorense1477
      @adiflorense1477 Před 3 lety +7

      feel same

    • @jetjet6560
      @jetjet6560 Před 3 lety +3

      So true it physically hurts lmaooo

    • @username42
      @username42 Před 3 lety +16

      but that depends what 10lines includes :) you can write deep learning codes in 10 lines only :)

    • @barath961
      @barath961 Před 3 lety +6

      Keep practicing. You will make it one day. Best wishes

  • @techwills4619
    @techwills4619 Před 3 lety +29

    Thank you professor ! That's exactly what I needed to make a cool visualisation of my project

  • @prashant381
    @prashant381 Před 2 lety +14

    Absolutely brilliant, easy , straight to point , confidence booster tutorial with top down approach to learn DS. Subscribed to your channel

  • @MrSCVideo
    @MrSCVideo Před 2 lety +2

    right away i get the feeling that you lay things out in a genius fashion this is great and focused upon efficiency and simplification

  • @dryadeknight2993
    @dryadeknight2993 Před 2 lety +20

    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.

  • @yichengwang3501
    @yichengwang3501 Před 10 měsíci +9

    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()

  • @quyenscc
    @quyenscc Před rokem +3

    I cannot thank you enough for this series of projects. It is amazing. Thanks a lot.

  • @yunakamura
    @yunakamura Před 3 lety +38

    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!

  • @liweiwang6345
    @liweiwang6345 Před 3 lety +4

    This looks really cool! appreciate for sharing the knowledge!

  • @homestar7348
    @homestar7348 Před 3 lety +12

    it is absolute insane that this is free. thank you so much

  • @yankoshuan6225
    @yankoshuan6225 Před 2 lety +5

    Thank you sir for sharing. best 3 hours of my recent data science journey.
    Thank you again. i need more content like this

  • @pygemssoftware4254
    @pygemssoftware4254 Před 2 lety +3

    What did you viewers expect from a professor.
    But i still say fantastic. Wonderfully explained. Hope to see more advanced videos

  • @gamechu69
    @gamechu69 Před 3 lety +2

    Very good work and exactly this what I was searching for. Thank you so much.

  • @FunDumb
    @FunDumb Před rokem

    Been searching night and day for a tut like this. Stellar!

  • @Coolhotriad
    @Coolhotriad Před 3 lety +16

    Saving this for this weekend! Awesome stuff.

    • @DataProfessor
      @DataProfessor Před 3 lety +1

      Thanks! Hope you find it helpful! 😊

    • @Coolhotriad
      @Coolhotriad Před 3 lety +1

      @@DataProfessor I watched a little bit, very easy to follow. also, subscribed to you!

    • @DataProfessor
      @DataProfessor Před 3 lety +1

      @@Coolhotriad Glad to hear that the video was helpful 😊

  • @melodycalder9392
    @melodycalder9392 Před 2 lety

    Absolutely remarkable, love how you describe everything

  • @robertoguedes9280
    @robertoguedes9280 Před 3 lety +2

    This channel is a godsend. Thank you so much.

  • @gustavojuantorena
    @gustavojuantorena Před 3 lety +78

    Data professor is a great teacher!

  • @LovelyJordy
    @LovelyJordy Před rokem

    This is the best channel on CZcams. Thank you for sharing your knowledge!

  • @jetjet6560
    @jetjet6560 Před 3 lety +7

    YES! Instant bookmarked for the weekend :)

  • @alyssonmachado4340
    @alyssonmachado4340 Před 3 lety +13

    Incredible! The classification and regression projects gave me a lot of ideas, thanks!

    • @DataProfessor
      @DataProfessor Před 3 lety +2

      Glad to hear and thanks for watching!

    • @irtazaanwar2144
      @irtazaanwar2144 Před 3 lety +1

      @@DataProfessor hey i have just completed learning pandas shoud i take this tutorial or their are any other pre reqisites also

    • @DataProfessor
      @DataProfessor Před 3 lety +1

      @@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.

    • @irtazaanwar2144
      @irtazaanwar2144 Před 3 lety

      @@DataProfessor thanks

  • @Mehmet-xg5cn
    @Mehmet-xg5cn Před 11 měsíci

    Very helpful. Clear and simplified. Thank you very much for your efforts and sharing it.

  • @TH-fe1vs
    @TH-fe1vs Před 3 lety +1

    The best video I have watched so far, clear explanations line by line.

  • @kengthe5949
    @kengthe5949 Před 3 lety +3

    huge and impressive content! Thank you.

  • @vinaynaik953
    @vinaynaik953 Před 3 lety +5

    Great collaboration thank you data professor 👨‍🏫

  • @dubey_ji
    @dubey_ji Před rokem

    I can't still get over the fact that you designed it so effin well 🤩

  • @Matias-fs7xw
    @Matias-fs7xw Před 11 měsíci

    Thank you very much Chanin Nantasenamat and freeCodeCamp. I really enjoy watchin, learning and doing alongside the projects.

  • @pratyush6830
    @pratyush6830 Před 3 lety +14

    Just at the right time, much needed 😁

  • @deepanshuchoudhary4598
    @deepanshuchoudhary4598 Před 3 lety +5

    Much neeeeeded video, pls make more related deployment and containerization for machine learning

  • @gxsoft
    @gxsoft Před 2 lety +9

    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

  • @sz8558
    @sz8558 Před 3 lety +3

    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.

  • @AbhishekSingh-tz3uv
    @AbhishekSingh-tz3uv Před 2 lety

    I have just seen the first project and already subscribed to Data Professor.

  • @terrysun5107
    @terrysun5107 Před 2 lety

    I am learning it for deploying my models of capstone project. Really useful video.

  • @snehasinghal2325
    @snehasinghal2325 Před 3 lety +3

    Thank you for making such valuable video. Really appreciate the fact thats it’s free!!

  • @mikenillo2110
    @mikenillo2110 Před 3 lety +3

    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?

  • @RohitSingh-yo2yl
    @RohitSingh-yo2yl Před 3 lety +6

    JUST WHEN NEEDED THIS DUDE APPEARED> 🥰

  • @johnnvula7246
    @johnnvula7246 Před 4 měsíci

    Duuuuuude 🎉 you are my hero !
    I was looking for this !

  • @noodle-eater
    @noodle-eater Před 3 lety +7

    Awesome dude, your 3 h is more productive than mine XD cant wait fo follow along

    • @DataProfessor
      @DataProfessor Před 3 lety +3

      Thanks! It's 3 hours across 3 months. 😊

  • @angelG14
    @angelG14 Před 3 lety +2

    just what i needed. Thank you :D

  • @kamrankerim636
    @kamrankerim636 Před 3 lety +10

    Chanin, you are great! I am doing Bioinformatics M.Sc. and this video helped me a lot. Streamlit is fun.

    • @DataProfessor
      @DataProfessor Před 3 lety +1

      Awesome! Glad to hear that Kamran!

    • @mrt1680
      @mrt1680 Před rokem

      @@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?

  • @firuzjuraev5383
    @firuzjuraev5383 Před 2 lety

    Love it! Thank you sooo much!

  • @jonathanbernardo3833
    @jonathanbernardo3833 Před 2 lety +1

    Awesome!
    Thanks you so much for sharing.

  • @mohammadabdelrahman786
    @mohammadabdelrahman786 Před rokem +6

    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)

  • @aditmagotra6914
    @aditmagotra6914 Před 2 lety +4

    God bless the guy who made Streamlit

  • @watcharaporntanchotsrinon3385

    Thank you so much. It's really helpful.

  • @prajwaladhav3297
    @prajwaladhav3297 Před 3 lety +3

    It's always pleasure to see you, also am surprised to see you here😀

    • @DataProfessor
      @DataProfessor Před 3 lety +2

      Thanks to the kind folks on freeCodeCamp for this collaboration, thanks for watching!

  • @sashjov1339
    @sashjov1339 Před 2 lety +7

    *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)

  • @albart1732
    @albart1732 Před 2 lety

    Great courses and great teacher tanks a lot :)

  • @user-mb4hg7xd7n
    @user-mb4hg7xd7n Před 10 měsíci

    Thank you Sir. I really appreaciate your effort to teach the world.

  • @wildrifter2583
    @wildrifter2583 Před 3 lety +5

    Data professor is a Legendary!

    • @DataProfessor
      @DataProfessor Před 3 lety +1

      Thanks for watching and for the kind words 😊

  • @keshavarya2771
    @keshavarya2771 Před 3 lety +330

    Stop scrolling down the comment section and watch the video

  • @stretch8390
    @stretch8390 Před 3 lety +3

    Who downvotes content like this?! Fantastic resource thanks DataProfessor

  • @bennguyen1313
    @bennguyen1313 Před rokem +2

    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)?

  • @bahargk4626
    @bahargk4626 Před 3 lety

    amazing tutorial, thank you

  • @madmancrow7659
    @madmancrow7659 Před 2 lety

    First time listener, i found your video verry helpful
    Great work 👌

  • @riteshsingh811
    @riteshsingh811 Před 3 lety +9

    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. ❤️🙏

  • @TinaHuang1
    @TinaHuang1 Před 3 lety +3

    DATA PROFESSOR!!! 💪💪💪

  •  Před 2 lety

    Thanks a lot for these tutorials

  • @simaobonvalot9141
    @simaobonvalot9141 Před 2 lety

    Thanks professor, you rock !

  • @skvali3810
    @skvali3810 Před 3 lety

    Thanks for sharing your knowledge.

  • @sz8558
    @sz8558 Před 3 lety +2

    @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.

  • @shaikarshad9670
    @shaikarshad9670 Před 2 lety

    Thank you ..Data Professor...It was very helpful..to me...

  • @RaulCPena
    @RaulCPena Před 3 lety +3

    That simple stock price app is pretty cool. I wonder if you can have it take a user input stock symbol and auto update

    • @tanaykashyap2459
      @tanaykashyap2459 Před 2 lety +1

      Does streamlit allow us to create a front end like that?

  • @BrendanMetcalfe
    @BrendanMetcalfe Před 2 lety

    This is an unreal learning resource

  • @ademhilmibozkurt7085
    @ademhilmibozkurt7085 Před rokem

    Thanks all of you!

  • @fuckooo
    @fuckooo Před 3 lety +8

    Thank you, I was looking for some inspiration to marry data science together with an application build. Peferct!

  • @fbravoc9748
    @fbravoc9748 Před 4 měsíci

    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")

  • @adebisiabioduntedvideo9524

    Alright, I am back. I got it fixed, no need to worry over my matter. Thanks.

  • @shubhampatrick
    @shubhampatrick Před 2 lety +1

    Really Enjoyed!

  • @TH-fe1vs
    @TH-fe1vs Před 3 lety +1

    @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.

  • @yejidedabiri3616
    @yejidedabiri3616 Před 3 lety +3

    hello Data Professor, thanks for these insightful videos. i am getting a key error for 'percent_change_1h' in the cryptocurrency app,please advise.

  • @digigoliath
    @digigoliath Před 3 lety

    Awesome!!! TQVM!!

  • @guerrerogonzalezjuanjose1581

    In the third one I got this error:
    ArrowTypeError: ("Expected bytes, got a 'int' object", 'Conversion failed for column FG% with type object')

    • @christianblack2631
      @christianblack2631 Před 2 lety

      put ' dataFrameSerialization = "legacy" ' instead of ' dataFrameSerialization = "arrow" ' in .streamlit/config.py

    • @fikridivasambasri8428
      @fikridivasambasri8428 Před 2 lety

      @@christianblack2631 how to write that in cmd?

  • @PANDURANG99
    @PANDURANG99 Před rokem

    I was searching for streamlit, and got it here🔥🔥

  • @alabsinatheer
    @alabsinatheer Před 3 lety +2

    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.

  • @giordanobruno6476
    @giordanobruno6476 Před 2 lety

    FREE Python tutorials on CZcams (Playlist): czcams.com/video/6omQ-t9L9Ak/video.html

  • @aniltheblogger
    @aniltheblogger Před 3 lety +2

    Epic tutorial, thanks

  • @rinkubaruah2041
    @rinkubaruah2041 Před 3 lety +2

    i just want to say i love you guys

  • @khanhtran-mr3nd
    @khanhtran-mr3nd Před 2 lety

    Helpful tutorial...thanks

  • @phantomf41
    @phantomf41 Před 3 lety +1

    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.

  • @silent_traveller7
    @silent_traveller7 Před 3 lety +16

    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!!!

  • @devangdayal1061
    @devangdayal1061 Před 2 lety

    Great Video !! No Clickbait, Was exactly what it stated.!!!

    • @petrosmasuku1677
      @petrosmasuku1677 Před 2 lety

      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

  • @RyanWade04
    @RyanWade04 Před 3 lety +4

    I have a question on the NBA playerstats app, is there a way to add more selectbox by players only after team is selected?

    • @DataProfessor
      @DataProfessor Před 3 lety +2

      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.

  • @rayondaitel
    @rayondaitel Před 2 lety

    Thanks, this help a lot :D

  • @Bulldoges90
    @Bulldoges90 Před 9 měsíci

    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.

  • @k2icc
    @k2icc Před 2 lety

    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.

  • @StuartWoodwardJP
    @StuartWoodwardJP Před 2 lety +1

    It would be cool to get the list of libraries by inspecting python itself.

  • @anujonthemove
    @anujonthemove Před 3 lety

    Beyond awesome!

  • @3lolrenz3
    @3lolrenz3 Před 3 lety +6

    This dude's saying "lets build something" and proceeds by copying the whole thing from somewhere

  • @samuelrooke5537
    @samuelrooke5537 Před 3 lety +1

    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

  • @bilalmahmood9423
    @bilalmahmood9423 Před 2 lety

    Thanks. Awesome!

  • @sf-ict
    @sf-ict Před rokem +3

    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

  • @strange_man
    @strange_man Před 3 lety +48

    I think tutorials should not be only scrolling down and telling "we did this, we did that, with that code line" :/

    • @strange_man
      @strange_man Před 2 lety

      @@YxG6kTfZ3HhcAQP i am not . But i can look from beginners' perspective

  • @anujadineshpatil3152
    @anujadineshpatil3152 Před 3 lety +1

    What are the pre requisites ?
    Excited to learn!!!!

  • @raimundojunior8547
    @raimundojunior8547 Před 3 lety +3

    Thank you so much, I needed some light for my studies about DataScience, I'm very lost

  • @sumitsony
    @sumitsony Před 2 lety

    nice !! perfect for folks starting data science and that too in Python. Really Good. __/\__

  • @wuda88
    @wuda88 Před 2 lety

    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?

  • @microsoftsarker
    @microsoftsarker Před 2 lety

    thanks for uploding

  • @AjayKumar-id7mb
    @AjayKumar-id7mb Před 3 lety +2

    I just did your streamlit project from your channel and now after 6 hours you are here again