How to Build Your First Data Science Web App in Python - Streamlit Tutorial #1

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 373

  • @DataProfessor
    @DataProfessor  4 года назад +35

    If you like this video, watch these next:
    👉 Part 2 of this Streamlit (Web Application in Python) series is available here ruclips.net/video/8M20LyCZDOY/видео.html
    👉 Streamlit playlist of 14 videos available here ruclips.net/video/ZZ4B0QUHuNc/видео.html
    What kind of data science web app would you like to see, would love to hear your thoughts. Comments down below 👇

    • @Draft3319
      @Draft3319 4 года назад +2

      E commerce web app

    • @datalikers4361
      @datalikers4361 4 года назад +1

      I gets NameError: name 'render_entities' is not defined. Need help to fix it.

    • @cosmaskiplangat9162
      @cosmaskiplangat9162 4 года назад +1

      driver distractions detection system

    • @1UniverseGames
      @1UniverseGames 3 года назад +1

      A web application that can help to email classification, like spamming! Is it related to data science! I'm just thinking and share my thoughts

    • @DataProfessor
      @DataProfessor  3 года назад

      @@1UniverseGames Thanks for the suggestion

  • @joseantoniovelazquezruiz1609
    @joseantoniovelazquezruiz1609 4 года назад +36

    wow this is a great way to deploy projects, I had a hard time trying to present the result without sharing the python notebook or the simple charts, this has made my life way easier.

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi Jose, I am very glad that the video was helpful 😊

  • @quantaraum
    @quantaraum 3 года назад +6

    the best explenation after thousands of videos, yourr coming straight to the point!!

  • @esperanzafeliciayakubu7794
    @esperanzafeliciayakubu7794 4 года назад +9

    I am a beginner python programmer this tutorial was very helpful. I tried your code and I did same for Apple stock

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Great, thanks for sharing! Glad it is helpful.

  • @cidrisonly
    @cidrisonly Год назад +9

    How many of you had that 'WoW' moment when the app launched for the first time

  • @gu_rezende
    @gu_rezende 4 года назад +2

    I had learned about streamlit just a few days ago and I am loving it. Much more now that many tutorials are starting to pop up in YT.

    • @DataProfessor
      @DataProfessor  4 года назад

      Thanks for sharing Gustavo, more on the way. The next episode will be on deploying to Heroku.

  • @unpatel1
    @unpatel1 3 года назад +11

    WOW!! This is my 1st real Python project and it worked!!! I want to change my career so started learning Python and libraries as well as other topics for many months now. Recently I thought about start working on real projects and this is my 1st one. Feel soooo good and confident!! I will follow your other simple projects as well, if there are any.

    • @DataProfessor
      @DataProfessor  3 года назад +1

      Glad to hear and glad it helped! Yes, there's plenty more where that came from, I have a playlist of 12 videos so far, more coming up. bit.ly/dataprofessor-streamlit

    • @Betterdailyy
      @Betterdailyy 2 года назад

      Same here I’m trying to change careers too

  • @simondungeon1218
    @simondungeon1218 4 года назад +9

    I needed this so much. I have not been able to showcase my data science skills from about 2 years practising just theories.
    Thank you so much for this and please keep uploading more projects.
    Love from India 🇮🇳

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Thanks for sharing Simon. Glad it was helpful! I have some project video on using machine learning for bioinformatics project, if you're interested.
      🔹Bioinformatics Project from Scratch - Drug Discovery Part 1 (Data Collection and Pre-Processing)
      ruclips.net/video/plVLRashaA8/видео.html
      🔹Bioinformatics Project from Scratch - Drug Discovery Part 2 (Exploratory Data Analysis)
      ruclips.net/video/qWVTxfLq2ak/видео.html
      🔹Data Science for Computational Drug Discovery using Python
      ruclips.net/video/VXFFHHoE1wk/видео.html

  • @nisithpati6167
    @nisithpati6167 4 года назад +3

    I cannot find words to thank you, I created an amazing web app thanks to your guide, absolutely humbled by the content. Keep it coming!!

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Thanks for the kind encouraging words, this made the day! More in the pipeline 😊

    • @nisithpati6167
      @nisithpati6167 4 года назад +1

      @@DataProfessor anytime!, made an app which has seaborn heatmaps involved in it. But somehow an error of deprecation due to involvement of pyplot without arguments keeps popping up

    • @DataProfessor
      @DataProfessor  4 года назад

      @@nisithpati6167 Great! About the error, did you try st.pyplot() after defining your plot figures

    • @nisithpati6167
      @nisithpati6167 4 года назад +1

      @@DataProfessor yes! As a matter of fact I did

  • @patloeber
    @patloeber 4 года назад +40

    Nice! I also released a Tutorial about Streamlit just one week ago! Very nice framework indeed.

    • @DataProfessor
      @DataProfessor  4 года назад +15

      Thanks Python Engineer, you've got nice tutorial videos and channel, great job! 😃So I am pinning this comment for my subscribers to see your excellent resources.
      Links to Python Engineer's video on Streamlit is:
      🔹ruclips.net/video/Klqn--Mu2pE/видео.html

  • @ImportData1
    @ImportData1 4 года назад +10

    This is awesome!! I deployed a model using flask and it was definitely a tough process.. streamlist seems very straightforward!! Definitely going to use this in the future. Thank you!!👍

    • @DataProfessor
      @DataProfessor  4 года назад +3

      Thanks for the comment! It certainly is quicker to work with and deploy at a high-level, will have to explore it some more and will definitely make a follow-up tutorial video on implementing with actual ML model deployment

  • @luciferkhusrao
    @luciferkhusrao 4 года назад +5

    This video and explanation were awesome beyond words. I and my pet cat watched this video with apt attention. We both loved it very much.
    Thank you Chanin Sir, thanks to Iqbal sir too

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Funniest and encouraging comment! Thanks for watching!

  • @sanketgadge9060
    @sanketgadge9060 4 года назад +14

    This is super insane, thanks for introducing this to me...

  • @aresmetal
    @aresmetal 4 года назад +2

    Can't believe such a framework exists, it will save me a lot of development time!

    • @DataProfessor
      @DataProfessor  4 года назад

      That’s wonderful, I too am loving this streamlit library, so powerful yet minimal

  • @luciferkhusrao
    @luciferkhusrao 4 года назад +1

    Thanks a lot, sir. I used to code in Kaggle but I found it hard to style the markdown. Thanks for providing the link to markdown cheatsheets. Now I can style the markdown in more effective manner

    • @DataProfessor
      @DataProfessor  4 года назад

      Glad you’re finding it helpful. The most useful markdown syntax I find myself using is only a few such as # for header styling, * for bullet points, *text* and **text** for bold and italic forms, etc.

  • @VidyaSagar-hc9nu
    @VidyaSagar-hc9nu 4 года назад +1

    subscribed after the live interaction with Krish and Dhaval sir 😍😍😍
    I am very enthusiastic about data science and machine learning deep learning
    your content is great sir
    thank you

    • @DataProfessor
      @DataProfessor  4 года назад

      Thank you Vidya for the kind words! Welcome to the channel 😃

  • @ranasagar699
    @ranasagar699 4 года назад +1

    Thanks for this video...but we can run this through jupyter notebook also by importing library ... in previous webinar with krishna naik.. I have seen u and ur explanation way was real help then I realised that how to learn data science ...

    • @DataProfessor
      @DataProfessor  4 года назад

      Thanks for the kind comment. Glad you’re finding the webinar helpful. There is more to come from us 4, please stay tuned.

  • @KenJee_ds
    @KenJee_ds 4 года назад +3

    Awesome video! Such a useful tool!

  • @seifsedky9131
    @seifsedky9131 3 года назад +2

    Why have you chosen streamlit as suppose to plotly dash?
    Curious about your opinion on which is better and why you opted for the first ?

    • @DataProfessor
      @DataProfessor  3 года назад

      Thanks for the question, answered in another post in a recent video.

  • @lautarocisterna3339
    @lautarocisterna3339 4 года назад +1

    Awesome Video! I do not know why I was not following you already!!! Thanks a lot! Greetings from Argentina.

    • @DataProfessor
      @DataProfessor  4 года назад

      Greatly appreciate it, glad to have you, welcome to the channel! 😊

  • @darkinvader619
    @darkinvader619 3 года назад +2

    Thank you for this! Its just amazing! Starting the streamlit series today. Thanks again for the amazing content.

  • @RRAAPillai
    @RRAAPillai 10 месяцев назад

    Thanks, this is awesome! Your explanation is very clear, such a joy to watch and learn 👍

  • @nguyenduyta7136
    @nguyenduyta7136 3 года назад +1

    I'm so appreciated ! by the way, I have some question
    1. I have this alarm although I have installed anaconda
    C:\Users\CTC>conda activate dp
    Could not find conda environment: dp
    You can list all discoverable environments with `conda info --envs`.
    2. Some softs/program I have have to install
    - Anaconda, Atom, Python ?

    • @DataProfessor
      @DataProfessor  3 года назад +2

      Hi for the first point, dp is the name of the conda environment on my computer so you can replace that with your own, you can create a conda environment by conda create -name any-name-you-want (please see for more details docs.conda.io/projects/conda/en/4.6.1/user-guide/tasks/manage-environments.html)

    • @DataProfessor
      @DataProfessor  3 года назад

      For point 2 you will need to install streamlit and yfinance library

    • @nguyenduyta7136
      @nguyenduyta7136 3 года назад +1

      @@DataProfessor yeah thank so much, great men !

  • @tauhidanwar3512
    @tauhidanwar3512 4 года назад +4

    Very informative and lots of things to learn from this tutorial

  • @shehabberam78
    @shehabberam78 3 года назад +4

    Your channel is super amazing professor!
    I've one question,
    If I have a machine learning model that predicts the results using 14 features.
    can I build a simple UI that prompts the user for input and then the model returns the results (the prediction results) to the interface using streamlet?
    if yes, can you please make a full project tutorial similar to this idea?

    • @aroundwithbae5193
      @aroundwithbae5193 2 года назад

      Hi i have a similar requirement . could u pls share any link for this

  • @Smilesatthi
    @Smilesatthi 4 года назад +2

    what a pleasant explanation. Loved it.

  • @shwetaredkar734
    @shwetaredkar734 4 года назад +1

    Cool.Thanks to Dataprofessor for making it easier to understand, The subscriber- who suggested Streamlit and towards data science-who wrote the streamlit article. Could you please get Streamlit application in the Bioinformatics project part3?

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Thanks Shweta for the kind comment! Yes, that is planned, I have planned to deploy the app to streamlit but it may be part 4 or 5, still in the planning phase. Will push it out soon. 😃

    • @shwetaredkar734
      @shwetaredkar734 4 года назад +1

      @@DataProfessor Cool

  • @AlexGC9986
    @AlexGC9986 3 года назад +1

    I really enjoy your videos and I learn a lot. You always make my mind open! Thanks

  • @DarkKnight-n1d
    @DarkKnight-n1d 3 месяца назад

    can you make a video to run the streamlit application to get the filtered output and the database for streamlit is from a dynamic website using selenium.

  • @azrflourish9032
    @azrflourish9032 3 года назад +1

    Hey! I have a question, should I install forexamle streamlit, flask, matplotlib in every new folder(project)?? It uses too much memory..

    • @DataProfessor
      @DataProfessor  3 года назад

      Yes and No. Yes if each project are significantly different from one another and have extensive library dependencies. No, if the projects share similar libraries. For my projects I usually have 3 different conda environments.

  • @aignitemedia
    @aignitemedia 3 года назад +1

    Great video! Thanks for the introduction to streamlit

  • @clark87
    @clark87 4 года назад +2

    Very useful and interesting, I have been waiting this video.

    • @DataProfessor
      @DataProfessor  4 года назад

      Glad you enjoyed it! Thank you for watching!

  • @krishnakishore348
    @krishnakishore348 4 года назад +3

    Hi professor i have executed the same code in jupyter there is no error and everything is fime but i am not getting the web page
    can u pls help me there.

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Hi, you will need to run the script file as a script via the ‘streamlit run filename.py’ format in order to get the web app working

  • @salikmalik7631
    @salikmalik7631 4 года назад +6

    as usual sir, different and amazing. love it :)

  • @Bioinformaticsinsights
    @Bioinformaticsinsights Год назад

    Hello Sir, Thank you for such wonderful tutorial videos. I am facing two issues, let me drop them here. 1. It does not matter how many different smiles I test using the Streamlit app using the same .PKL model i generated, it always predicts the same result. How is that possible? Lets say, if for smiles 1, 2 and 3 the pIC50 is 7.1, 7.2 and 7.3. The same set of values will be predicted for other input smiles.
    2. If the descriptor list has 882 then the program will generates 88s results, does not matter how many smiles, i provide.

  • @tinaxu4214
    @tinaxu4214 2 года назад +1

    Thank you for sharing. Your explanation is very clear👍💯💖

  • @mjacfardk
    @mjacfardk 2 года назад +1

    Thank you so much for teaching us valuable and quality lessons, please help us with the most useful way and most common methods to use pandas for data wrangling thanks again

    • @DataProfessor
      @DataProfessor  2 года назад +1

      You are welcome! Actually the recent video is a Pandas 101 for data wrangling ruclips.net/video/kHHym9neKRs/видео.html

  • @gnavarrolema
    @gnavarrolema 2 года назад +1

    Thank you for this. I have learnt a lot!!!

  • @oguguaonyinyechi4980
    @oguguaonyinyechi4980 4 года назад +2

    Amazing content Professor! Will give it a try.

    • @DataProfessor
      @DataProfessor  4 года назад

      Thank you Ogugua for the kind comment and thank you for watching!

  • @da_ta
    @da_ta 4 года назад +1

    I never knew such framework exists I am glad I subscribed to your channel and get notifications great work thank you so much for doping this!

    • @DataProfessor
      @DataProfessor  4 года назад

      Glad that the contents on this channel are helpful to you! This comment made the day, thank you! 😊

  • @didisundiman
    @didisundiman 3 года назад

    Thanks Data Professor, please help how to change Python run in Jupyter notebook, I have installed python version 3.8 and 3.9, thanks

  • @kisho2679
    @kisho2679 10 месяцев назад

    How can streamlit be integrated with MathJax that sequentially reads data from am Excel file to display mathematically rendered list of formulas in the browser?

  • @indylawi5021
    @indylawi5021 3 года назад +1

    Great intro. A promising library for quick creation of Data science Web app. Do you plan on a further tutorial on how to deploy in production?

    • @DataProfessor
      @DataProfessor  3 года назад

      Hi, actually I've released 2 videos on how to deploy on Heroku ruclips.net/video/zK4Ch6e1zq8/видео.html and on Streamlit Sharing
      ruclips.net/video/kXvmqg8hc70/видео.html
      There's also a total of 14 videos in the Streamlit playlist ruclips.net/video/ZZ4B0QUHuNc/видео.html

  • @mattpearce9564
    @mattpearce9564 4 года назад +1

    Nice job! Streamlit looks great to use.

    • @DataProfessor
      @DataProfessor  4 года назад

      Thanks for watching, it really is 😊

  • @lucianodomingues2290
    @lucianodomingues2290 2 года назад +1

    Amazing lesson Professor.

  • @imveryhungry112
    @imveryhungry112 Год назад

    THANK you i will be watching this today!!!

  • @MrVagzaf
    @MrVagzaf 4 года назад +1

    Hello, i can not install streamlit becouse when i am trying to install it i get the following error message. File "setup.py", line 94, in run
    self._run_cmake()
    File "setup.py", line 273, in _run_cmake
    raise RuntimeError('Not supported on 32-bit Windows')
    RuntimeError: Not supported on 32-bit Windows
    Please advice

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi, try the solution mentioned in this post discuss.streamlit.io/t/issue-while-installing-streamlit/4495

  • @iaratoledo5583
    @iaratoledo5583 10 месяцев назад

    I loved your tutorial, but I was getting an error when I tried to run it. I already use pipx to install yfinance, but the system tells the error: 'No module named 'yfinance''. How can I fix it?

  • @vickyjaiswal9168
    @vickyjaiswal9168 4 года назад +3

    This was amazing..!
    How can i import the dataset using url?

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Perhaps you would like to download the dataset file from the internet? If so, please follow this tutorial how you can download files inside Python likegeeks.com/downloading-files-using-python/

    • @vickyjaiswal9168
      @vickyjaiswal9168 4 года назад

      @@DataProfessor I want access data online.. without downloaded in my system (actually I want to access the realtime weather data to predict weather conditions at different places)

    • @PanCynik
      @PanCynik 4 года назад

      @@vickyjaiswal9168 Then you need to hace some sort of access to it through code. There are several ways, easiest is to use website API if it has any, if not you need to write another script that will just download data data you want. You can use BeautifulSoup, Selenium or other web scraping packages. But every case will be different, so for every website you will need new script.

  • @lucianawaka
    @lucianawaka 3 года назад +1

    Thank you very much! Excellent video.

  • @starkarabil9260
    @starkarabil9260 3 года назад

    this is such a great help! Thanks.. I am getting Asyncio RuntimeError: There is no current event loop in thread.. Any idea how can I solve this?

  • @rutho.6282
    @rutho.6282 4 года назад +2

    Anvil.works is another option as well. I'm trying out streamlit to weigh the pros and cons.

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Thanks for your comment. Anvil looks interesting as well 😃

    • @rutho.6282
      @rutho.6282 4 года назад

      @@DataProfessor Your Welcome :)

  • @djk5867
    @djk5867 4 года назад +1

    Hi, I just had a doubt from the portfolio video you made with Ken. After uploading the files on github ,it only shows the basic html with no css. Can you suggest a solution please?

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi, have you compiled the HTML and CSS files, you can compile by using the command ./hugo -D (see 38:29 of the DS portfolio video). After compilation look all the HTML files and CSS files are in the "public" folder, you need to upload all contents in here into the GitHub. Then it should work. CSS file is in public/dist/css

  • @VarunVargheseMuriyanat
    @VarunVargheseMuriyanat 4 года назад +1

    Nice, short intro. Thanks for taking the time create this.

    • @DataProfessor
      @DataProfessor  4 года назад

      It's a pleasure and Thanks for watching 😊

  • @higiniofuentes2551
    @higiniofuentes2551 7 месяцев назад

    You have imported pandas, how to use with streamlit?
    Thank you!

  • @jraj6745
    @jraj6745 3 года назад +1

    How to add Streamlit to already existing .ipynb file in Anaconda?.. Any insight would be very helpfull!.. Nice tutorial by the way!

    • @DataProfessor
      @DataProfessor  3 года назад +1

      Streamlit runs in the command line by calling the .py app file via:
      streamlit run app.py

  • @temiwale88
    @temiwale88 3 года назад +4

    Hey Prof! Just a thought / idea: maybe set up monthly challenges for your viewers, followers, etc. to build projects with the tools and techniques you've shown them and other tools they have. Then invite them to share on your channel (like freecodecamp where I first found you!). It's a win-win for you and they as this can be part of their portfolio project or for experience 'youtubing' or teaching what they know - like you. Just a thought! Maybe gauge your viewers/followers interest on this approach and go for it (if there's enough interest)! God Bless You!

  • @judytsai9013
    @judytsai9013 4 года назад +2

    Thank you for sharing! Question: Does Streamlit can work with Jupyter notebook file (.jpynb) with classification model?

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Hi Judy, Streamlit is meant to be run as a script (embedded inside a .py file and called via "streamlit run app.py". Yes the results of the classification model can be displayed in Streamlit

  • @vivekshotti
    @vivekshotti 3 года назад

    I understand streamlit streamlines the process of building web products for ML and DA models. But what is the actual way?

  • @prasannapalanivel7547
    @prasannapalanivel7547 8 месяцев назад

    Can we divert python log messages from loggin module to streamlit textbox component?
    in other words, instead of printing the log messages in console, can i print that in the stream lit web page ?

  • @TheArashhak
    @TheArashhak 4 года назад +2

    Hi! Thanks for this tutorial. Streamlit seems cool and simple. I'm new to python. I've just created an eye blink detector that sends key presses when you blink. Thinking of making this an web app. Will you be able to run an eye blink key presser in the browser in the background and go into other apps/windows trigging key presses? I mean can I make it have system wide impact while running in the background?

    • @TheArashhak
      @TheArashhak 4 года назад +1

      Also will it work on Android and iOS?

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi, I think the concept of your app would work. You would probably have to use the opencv library so that the webcam will be able to detect the eye blink which would trigger some key presses. As for running in the background, I am not sure about that, would really depend on the internet connection and if there would be any timeout from the hosting server.

    • @DataProfessor
      @DataProfessor  4 года назад

      As the deployed web app is accessible from a web browser, it should work on all devices: desktop, laptop, tablet and mobile (Android and iOS)

  • @antonymahendra2249
    @antonymahendra2249 2 года назад

    Hi, Professor. What's dp environtment? I don't find that in my Anaconda Environtment. Please help me

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 4 года назад +4

    Can you do more Streamlit examples, like training a deep learning model and then use the model with user inputs for predictions?

    • @DataProfessor
      @DataProfessor  4 года назад +2

      Definitely, thanks for the suggestion 😃

  • @higiniofuentes2551
    @higiniofuentes2551 7 месяцев назад

    Thank you for this very useful video!

  • @languagetalk8141
    @languagetalk8141 3 года назад +1

    Hi, how can we get only 'high confidece " iRNA from mirbase using python or R? any package?

    • @DataProfessor
      @DataProfessor  3 года назад

      Hi, you could try comparing the results from many databases and do a simple consensus, if 3 of 5 gets top scores then those miRNA are deemed important. We have done this in a published paper pubmed.ncbi.nlm.nih.gov/27168985/

  • @rahulvijay6611
    @rahulvijay6611 3 года назад

    if possible can you make a end to end data driven data science project Real world/Industry level or show how to make it

  • @nisithpati6167
    @nisithpati6167 4 года назад +1

    Hey there! I just generated a heatmap in a web app by using the above process. But can you suggest how to download the heatmap as an image? I am stuck on it. I have tried almost everything.

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Hi, absolutely, I've made a video in this Streamlit series showing the use of heatmap, please find the video here ruclips.net/video/xiBXspqs0dk/видео.html

    • @nisithpati6167
      @nisithpati6167 4 года назад

      @@DataProfessor thanks! solved it 🙏🏻

  • @cyberkrz0914
    @cyberkrz0914 4 года назад +1

    This is a great help! Thank you, Sir. .. more power!

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Glad it helped!

    • @cyberkrz0914
      @cyberkrz0914 4 года назад

      @@DataProfessor Sir, can you suggest an ML project that I could work with using the Streamlit? Perhaps, a good dataset with just few analysis performed. Thanks.

  • @blablawtf
    @blablawtf 3 года назад +1

    You are awesome, thank you for your videos!

  • @surajviswakarma254
    @surajviswakarma254 4 года назад +1

    Now every algorithms works in order to show what we want to watch say RUclips, Google Ads etc.. So sir my question is doesn't it makes us less interested in exploring new things. What if algorithms only shows content based on our past results and never lets us know new things. Suppose i don't have any idea what is deep learning and even didn't hear it before. So how it is likely that one will get to know about it, just by recommendation system or any other search result.
    Sorry it might sounds weird 😬

    • @DataProfessor
      @DataProfessor  4 года назад

      This is a great post, not weird at all, very thought provoking! I certainly agree, recommendation systems are designed to keep up hooked to the contents. However, if you logout of your account, especially for youtube, then I start to see more neutral contents that are trending on various topics.

    • @surajviswakarma254
      @surajviswakarma254 4 года назад

      @@DataProfessor ThnakYou so much sir for your reply.

  • @md.khaliluzzaman8447
    @md.khaliluzzaman8447 4 года назад +1

    Dear Professor, thanks for nice description. Is it possible to develop a web project for keras model [computer vision]?

  • @nguyenanhnguyen7658
    @nguyenanhnguyen7658 3 года назад +1

    This is very cool. Thanks.

    • @DataProfessor
      @DataProfessor  3 года назад

      You're welcome! Thanks for the kind words!

  • @BhekumuziMachael
    @BhekumuziMachael 3 года назад +1

    This code can be simplified as follows:
    from requests.api import head
    import yfinance as yf
    import streamlit as st
    st.write("""
    # Simple Stock Price App
    Shown are the stock closing price and volumne of Google!
    """
    )
    data = yf.Ticker('GOOGL')\
    .history(period='1d', start='2021-01-01', end='2021-06-16')
    st.line_chart(data.Close)
    st.line_chart(data.Volume)

  • @alikemalagrman1067
    @alikemalagrman1067 3 года назад

    Hi Professor,
    How can I use streamlit with my own database?
    Thanks

  • @dv2983
    @dv2983 3 года назад

    Thanks. Can you suggest how to get this chart in an html file? I would use an id element but how do you get Streamlit realtime charts in html page? thanks

  • @heck0272
    @heck0272 4 года назад +2

    Awesome !! Thanks for a great intro

  • @srikantidevi3117
    @srikantidevi3117 4 года назад +1

    Thanks a lot professor. I installed and run also.However I am getting only html code in my browser 8501.I saved file .py file from Jupyter nanobook before running it. Could you please let me know what is conda update dp.That is even not working when I tried on my cmd

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi Srikanti, it is advised to not use Jupyter notebook for making streamlit code, it is preferable to use a IDE such as spyder or a simple text editor such as Atom (which was used in the tutorial, you can download this at atom.io). As for "conda activate dp" that is used to activate a conda environment called dp that is on my computer so if it would not work for you, no worries. Could you retry to code in Atom, let me know if that works.

  • @OAT_Academy
    @OAT_Academy 4 года назад +1

    Hi Sir,
    Is it possible to deploy a neural nets chatbot into Hugo? or should I use streamlit? Thanks

    • @DataProfessor
      @DataProfessor  4 года назад

      I think it may be possible to deploy to hugo with some hacks but streamlit should be easier. I will be releasing a video on deployment of streamlit web app to heroku in the next few days.

  • @johirislam8174
    @johirislam8174 3 года назад +1

    I want to learn python from the begaining.Which lectures should i follow

    • @DataProfessor
      @DataProfessor  3 года назад

      I've made some introductory videos here ruclips.net/video/wnmDt5ZaJKw/видео.html
      And a guide to approaching the learning of Python for data science here ruclips.net/video/AeUnO1oNv08/видео.html

    • @johirislam8174
      @johirislam8174 3 года назад

      @@DataProfessor Thank you so much.Can you plz give me the link of installing the latest version of python?

  • @karnajitbhowmik4118
    @karnajitbhowmik4118 4 года назад +1

    Can you make a video on calculation of kappa statistic for any classification also error calculation?

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Thanks for suggestion! Will add this to my to-do list. Thanks again!

    • @karnajitbhowmik4118
      @karnajitbhowmik4118 4 года назад

      Thanxs for reply ❤. Hope you will do it soon

  • @viewermm1588
    @viewermm1588 Год назад

    looking for a video tutorial working haystack--streamlit, any recomendation?

  • @ivanbzg8955
    @ivanbzg8955 4 года назад +1

    hey great video, i wonder how does it compare with shinny from R?

    • @DataProfessor
      @DataProfessor  4 года назад

      The level of difficulty would be similar. They're both intuitive and easier to work with. You can get an idea to product in a short period of time. I will show in future tutorial, please stay tuned.

  • @ParamChoksi-ve6yg
    @ParamChoksi-ve6yg 4 года назад +2

    Which tool you used to create python file?

  • @jaiyeshchahar
    @jaiyeshchahar 4 года назад +1

    i have anaconda, and i use jupyter notebooks, i want to build a gui using streamlit, where should i write my code?

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi, I write it in Atom (a free editor available at atom.io/ and it's from the creator of GitHub)

  • @bobosmomos144
    @bobosmomos144 3 года назад +1

    Great video series sir just subscribed to your and channel and I'm gonna feed on your resources. I use Jupyter notebook would any code be different from what you typed??

    • @DataProfessor
      @DataProfessor  3 года назад

      Hi, a typical app should be made in a script file (app.py) and then running that file from the command line via "streamlit run app.py" command.

  • @sajidsheikh4224
    @sajidsheikh4224 3 года назад +1

    Thank You So much Sir for amazing trick

  • @auraSinhue
    @auraSinhue 3 года назад +1

    I just found your channel, great video!

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 4 года назад +2

    Can you do a video on deploying streamlit to google cloud.

    • @DataProfessor
      @DataProfessor  4 года назад

      Thanks for the suggestion, will definitely consider this for future videos😄

  • @vincentdonghoonlee4497
    @vincentdonghoonlee4497 4 года назад +1

    Thank you professor for the great inspiration!

    • @DataProfessor
      @DataProfessor  4 года назад +1

      A great pleasure, thanks for watching!

  • @shrutijain1628
    @shrutijain1628 3 года назад

    This is amazing I want to deploy on of the projects in streamlit it will help me a lot💯

    • @DataProfessor
      @DataProfessor  3 года назад

      Awesome, You can do it! Let us know how it went, thanks for watching!

    • @shrutijain1628
      @shrutijain1628 3 года назад

      @@DataProfessor of course 💯

  • @shivampradhan6101
    @shivampradhan6101 4 года назад +1

    beta_expander and veta_cplumns are not working now . what are the new keywords now ?

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi, the current version of Streamlit 0.71.0 is still supporting the beta_expander and beta_columns functions. If you're using an older version which may not have these functions, you can go ahead and update/re-install the streamlit library.

  • @vijaysinghrajput8526
    @vijaysinghrajput8526 4 года назад +1

    Iqbaal you are great bro

  • @priyadoesdatascience5141
    @priyadoesdatascience5141 3 года назад

    Hello Sir, please make a video series on AutoML with python too. thank you for your contribution

  • @emerys9699
    @emerys9699 3 года назад +1

    Hi! @Data Professor, i create some interact variable that i add to my dataset ( for example i have a dataset with 4 columns a,b,c,a*c) and i would like to know how to add this new variable on my dashboard in streamlit.
    does it exist a way to create it so that when i select a value of a and c for example it multiply those value and asign it to the new variable a*c in the dashboard

    • @DataProfessor
      @DataProfessor  3 года назад +1

      Yes, that can be done, you can use input widgets to accept user input and in the backend you can perform the operation (+,-,*, etc.) and display the newly calculated value in the dataframe

    • @emerys9699
      @emerys9699 3 года назад

      @@DataProfessor please where can I find or have an example

  • @niteshadhikari3460
    @niteshadhikari3460 3 года назад +1

    How did you get it to update automatically? Having to rerun on prompt each time. Thanks!

    • @DataProfessor
      @DataProfessor  3 года назад

      Hi, then you will want to deploy your app to the cloud. To do that, check out these 2 videos:
      - ruclips.net/video/kXvmqg8hc70/видео.html
      - ruclips.net/video/zK4Ch6e1zq8/видео.html

    • @niteshadhikari3460
      @niteshadhikari3460 3 года назад +1

      @@DataProfessor thank you so much ! You are by far the best data science channel. Learn something new each time.

  • @akhil3365
    @akhil3365 3 года назад +1

    can you please make a video on how to make a note-taking app in streamlit I tried to implement it but there are so many problems with my version because while deleting a note (row in the data frame) it messes up because the select_box doesn't get updated and sometimes deletes the row which is not intended to:
    def Notes():
    st.markdown('## Notes')
    st.markdown('####')
    df= pd.read_csv('Notes.csv')
    Seal = st.container()
    nt,tb=st.columns(2)
    val=nt.text_area('Edit','Enter Note',height=200)
    if nt.button('Add note'):
    if val not in df['All Notes'].tolist() and val!='Enter Note':
    df.loc[len(df.index)]=val
    df['.']='.'
    df.to_csv('Notes.csv',index=False)
    tb.table(df.rename(columns={'All Notes': 'Highlights'}).set_index('.').sample(2))
    with nt.expander('Delete'):
    delt=st.selectbox('Delete',df['All Notes'])
    if st.button('Delete'):
    df= pd.read_csv('Notes.csv')
    df=df.drop(df[df['All Notes']==delt].index)
    df.to_csv('Notes.csv',index=False)
    with Seal.expander('See All'):
    st.table(df.set_index('.'))
    Notes()
    this is my implementation.

    • @DataProfessor
      @DataProfessor  3 года назад

      Thanks, if I have time I will look into this.

    • @akhil3365
      @akhil3365 3 года назад

      @@DataProfessor sure, I will be looking forward to it

  • @ramiroeduardolujanmendez952
    @ramiroeduardolujanmendez952 3 года назад +1

    I am usin Jupyter notebook, but I get some error code: streamlit.delta_generator.DeltaGenerator at 0x24e7af9cee0. I don't know why st.line_chart(tickerDf.Close) or st.line_chart(tickerDf.Volume) are not runnig well. Could you help me please?, thank you

    • @DataProfessor
      @DataProfessor  3 года назад

      Hi, the web app will render properly if used as a script file. To run the web app, type into the command line:
      streamlit run app.py
      where app.py is the name of the web app.

    • @ramiroeduardolujanmendez952
      @ramiroeduardolujanmendez952 3 года назад

      @@DataProfessor Thank you very much!

  • @fahmiraouin2983
    @fahmiraouin2983 2 года назад +1

    I can use Streamlit for an real time face detection (machine learning model)??

  • @relil9121
    @relil9121 4 года назад +2

    Hey man, when i try to install streamlit i get a 'failed to build pyarrow' error. Any ideas on how to fix this?

    • @DataProfessor
      @DataProfessor  4 года назад +1

      Which OS is this on? If on a Mac, make sure to have Xcode installed since it will need to compile any dependencies when installing.

    • @relil9121
      @relil9121 4 года назад +1

      Data Professor im on windows

    • @mayanktripathi4u
      @mayanktripathi4u 4 года назад +1

      @@relil9121 @Data Professor - I am also facing same issue on Windows machine.
      Ariel Ilagan
      - Is your issue resolved? If so, Please share the step you have taken.
      I am using Python 3.x (python is installed directly on windows... no conda env.)

  • @RoySukrit
    @RoySukrit 4 года назад +1

    Good Morning sir , i have a collection of 2k images , i have got an assignment to make a website and load the images from a database , I have searched a lot but could not find a reasonable solution. Can you give me any suggestions sir?

    • @DataProfessor
      @DataProfessor  4 года назад

      Hi, I would recommend to look into using PHP + MySQL for the website

    • @RoySukrit
      @RoySukrit 4 года назад

      @@DataProfessor thanks for the reply sir , i looked into php+ MySql , can we get a better outcome with Django Python?