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 👇
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.
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.
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
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 🇮🇳
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
@@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
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
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!!👍
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
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
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
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.
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
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 ...
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 ?
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)
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?
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?
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. 😃
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.
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.
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.
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.
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
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?
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
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
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?
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/
@@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)
@@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.
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?
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
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!
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
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 ?
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?
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.
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/
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.
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
@@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.
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 😬
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.
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)
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
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
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.
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.
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
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.
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??
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.
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
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
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
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.
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
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.
@@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.)
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?
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 👇
E commerce web app
I gets NameError: name 'render_entities' is not defined. Need help to fix it.
driver distractions detection system
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
@@1UniverseGames Thanks for the suggestion
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.
Hi Jose, I am very glad that the video was helpful 😊
the best explenation after thousands of videos, yourr coming straight to the point!!
I am a beginner python programmer this tutorial was very helpful. I tried your code and I did same for Apple stock
Great, thanks for sharing! Glad it is helpful.
How many of you had that 'WoW' moment when the app launched for the first time
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.
Thanks for sharing Gustavo, more on the way. The next episode will be on deploying to Heroku.
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.
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
Same here I’m trying to change careers too
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 🇮🇳
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
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!!
Thanks for the kind encouraging words, this made the day! More in the pipeline 😊
@@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
@@nisithpati6167 Great! About the error, did you try st.pyplot() after defining your plot figures
@@DataProfessor yes! As a matter of fact I did
Nice! I also released a Tutorial about Streamlit just one week ago! Very nice framework indeed.
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
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!!👍
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
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
Funniest and encouraging comment! Thanks for watching!
This is super insane, thanks for introducing this to me...
Glad you like it!
Can't believe such a framework exists, it will save me a lot of development time!
That’s wonderful, I too am loving this streamlit library, so powerful yet minimal
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
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.
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
Thank you Vidya for the kind words! Welcome to the channel 😃
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 ...
Thanks for the kind comment. Glad you’re finding the webinar helpful. There is more to come from us 4, please stay tuned.
Awesome video! Such a useful tool!
Thanks Ken! 😃
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 ?
Thanks for the question, answered in another post in a recent video.
Awesome Video! I do not know why I was not following you already!!! Thanks a lot! Greetings from Argentina.
Greatly appreciate it, glad to have you, welcome to the channel! 😊
Thank you for this! Its just amazing! Starting the streamlit series today. Thanks again for the amazing content.
Hope you enjoy it!
Thanks, this is awesome! Your explanation is very clear, such a joy to watch and learn 👍
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 ?
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)
For point 2 you will need to install streamlit and yfinance library
@@DataProfessor yeah thank so much, great men !
Very informative and lots of things to learn from this tutorial
Thanks for watching!
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?
Hi i have a similar requirement . could u pls share any link for this
what a pleasant explanation. Loved it.
Glad it was helpful!
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?
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. 😃
@@DataProfessor Cool
I really enjoy your videos and I learn a lot. You always make my mind open! Thanks
Glad you like them! Thanks!
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.
Hey! I have a question, should I install forexamle streamlit, flask, matplotlib in every new folder(project)?? It uses too much memory..
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.
Great video! Thanks for the introduction to streamlit
Glad it was helpful!
Very useful and interesting, I have been waiting this video.
Glad you enjoyed it! Thank you for watching!
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.
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
as usual sir, different and amazing. love it :)
Thank you so much 😀
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.
Thank you for sharing. Your explanation is very clear👍💯💖
You’re welcome 😊
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
You are welcome! Actually the recent video is a Pandas 101 for data wrangling ruclips.net/video/kHHym9neKRs/видео.html
Thank you for this. I have learnt a lot!!!
Glad it was helpful!
Amazing content Professor! Will give it a try.
Thank you Ogugua for the kind comment and thank you for watching!
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!
Glad that the contents on this channel are helpful to you! This comment made the day, thank you! 😊
Thanks Data Professor, please help how to change Python run in Jupyter notebook, I have installed python version 3.8 and 3.9, thanks
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?
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?
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
Nice job! Streamlit looks great to use.
Thanks for watching, it really is 😊
Amazing lesson Professor.
Thanks! 😃
THANK you i will be watching this today!!!
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
Hi, try the solution mentioned in this post discuss.streamlit.io/t/issue-while-installing-streamlit/4495
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?
This was amazing..!
How can i import the dataset using url?
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/
@@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)
@@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.
Thank you very much! Excellent video.
You are welcome!
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?
Anvil.works is another option as well. I'm trying out streamlit to weigh the pros and cons.
Thanks for your comment. Anvil looks interesting as well 😃
@@DataProfessor Your Welcome :)
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?
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
Nice, short intro. Thanks for taking the time create this.
It's a pleasure and Thanks for watching 😊
You have imported pandas, how to use with streamlit?
Thank you!
How to add Streamlit to already existing .ipynb file in Anaconda?.. Any insight would be very helpfull!.. Nice tutorial by the way!
Streamlit runs in the command line by calling the .py app file via:
streamlit run app.py
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!
Thank you for sharing! Question: Does Streamlit can work with Jupyter notebook file (.jpynb) with classification model?
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
I understand streamlit streamlines the process of building web products for ML and DA models. But what is the actual way?
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 ?
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?
Also will it work on Android and iOS?
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.
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)
Hi, Professor. What's dp environtment? I don't find that in my Anaconda Environtment. Please help me
Can you do more Streamlit examples, like training a deep learning model and then use the model with user inputs for predictions?
Definitely, thanks for the suggestion 😃
Thank you for this very useful video!
Hi, how can we get only 'high confidece " iRNA from mirbase using python or R? any package?
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/
if possible can you make a end to end data driven data science project Real world/Industry level or show how to make it
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.
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
@@DataProfessor thanks! solved it 🙏🏻
This is a great help! Thank you, Sir. .. more power!
Glad it helped!
@@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.
You are awesome, thank you for your videos!
Glad you like them!
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 😬
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.
@@DataProfessor ThnakYou so much sir for your reply.
Dear Professor, thanks for nice description. Is it possible to develop a web project for keras model [computer vision]?
Yes, it is possible.
This is very cool. Thanks.
You're welcome! Thanks for the kind words!
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)
Amazing, thanks! 😁
Hi Professor,
How can I use streamlit with my own database?
Thanks
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
Awesome !! Thanks for a great intro
Thanks for watching 😃
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
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.
Hi Sir,
Is it possible to deploy a neural nets chatbot into Hugo? or should I use streamlit? Thanks
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.
I want to learn python from the begaining.Which lectures should i follow
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
@@DataProfessor Thank you so much.Can you plz give me the link of installing the latest version of python?
Can you make a video on calculation of kappa statistic for any classification also error calculation?
Thanks for suggestion! Will add this to my to-do list. Thanks again!
Thanxs for reply ❤. Hope you will do it soon
looking for a video tutorial working haystack--streamlit, any recomendation?
hey great video, i wonder how does it compare with shinny from R?
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.
Which tool you used to create python file?
Hi, I use Atom.io
i have anaconda, and i use jupyter notebooks, i want to build a gui using streamlit, where should i write my code?
Hi, I write it in Atom (a free editor available at atom.io/ and it's from the creator of GitHub)
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??
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.
Thank You So much Sir for amazing trick
I just found your channel, great video!
Awesome! Welcome aboard!
Can you do a video on deploying streamlit to google cloud.
Thanks for the suggestion, will definitely consider this for future videos😄
Thank you professor for the great inspiration!
A great pleasure, thanks for watching!
This is amazing I want to deploy on of the projects in streamlit it will help me a lot💯
Awesome, You can do it! Let us know how it went, thanks for watching!
@@DataProfessor of course 💯
beta_expander and veta_cplumns are not working now . what are the new keywords now ?
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.
Iqbaal you are great bro
👍
Hello Sir, please make a video series on AutoML with python too. thank you for your contribution
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
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
@@DataProfessor please where can I find or have an example
How did you get it to update automatically? Having to rerun on prompt each time. Thanks!
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
@@DataProfessor thank you so much ! You are by far the best data science channel. Learn something new each time.
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.
Thanks, if I have time I will look into this.
@@DataProfessor sure, I will be looking forward to it
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
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.
@@DataProfessor Thank you very much!
I can use Streamlit for an real time face detection (machine learning model)??
Yes, absolutely
Hey man, when i try to install streamlit i get a 'failed to build pyarrow' error. Any ideas on how to fix this?
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.
Data Professor im on windows
@@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.)
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?
Hi, I would recommend to look into using PHP + MySQL for the website
@@DataProfessor thanks for the reply sir , i looked into php+ MySql , can we get a better outcome with Django Python?