How to Collect User Input with Streamlit - Part 2

  Рет қаралды 50,489

Mısra Turp

Mısra Turp

Күн бұрын

Пікірлер: 99
@brunofracs
@brunofracs 2 жыл бұрын
I am impressed by how easy this framework is to deal with. I can think of so many applications, thank you for getting me started!!
@misraturp
@misraturp 2 жыл бұрын
My pleasure :)
@unstanbul
@unstanbul 9 ай бұрын
Eline sağlık Mısra. Gayet akıcı ve temiz... Seninle aynı zamanda Sabancı Üniversitesinde bulunmuşuz. Sen tabi öğrenciymişsin. Bunu öğrendiğime de ayrıca memnun oldum.
@ahmetmutlu3779
@ahmetmutlu3779 Жыл бұрын
Good job Mısra . Thanks for this amazing tutorial series.
@misraturp
@misraturp Жыл бұрын
You are welcome 😊
@siqueirapaty
@siqueirapaty Жыл бұрын
Thank you so much for helping me in this streamlit journey!
@misraturp
@misraturp Жыл бұрын
You're very welcome Patricia :)
@slimyelow
@slimyelow Жыл бұрын
OMG I am luving data science again. In 2019 there was just Jupyter, and it just was not that impressive to non DS peeps.
@llllllllllllllllllllIll
@llllllllllllllllllllIll 3 жыл бұрын
Thank you so much, always feels great to learn something new for the first time, looking forward to more such content
@misraturp
@misraturp 3 жыл бұрын
Great to hear! And don't forget to also take a shot at implementing it yourself. :)
@kishr4u1
@kishr4u1 7 ай бұрын
Good introduction video..
@eben4732
@eben4732 2 жыл бұрын
Thumbs up, Misra Turp. You are very good
@misraturp
@misraturp 2 жыл бұрын
Thank you!
@slimyelow
@slimyelow Жыл бұрын
FIY the theme is now dark mode and the graph zooms with the mouse wheel! 🙂
@ClementsProjects
@ClementsProjects 3 жыл бұрын
Thanks for the tutorial, well explained !
@misraturp
@misraturp 3 жыл бұрын
I'm happy to hear it was helpful!
@TheStevenStevenson
@TheStevenStevenson Жыл бұрын
An update tutorial would be great!
@misraturp
@misraturp Жыл бұрын
It's on the way!
@amindouale829
@amindouale829 Жыл бұрын
thank you a lot . really i apperciated your har work.
@nakulmali1413
@nakulmali1413 3 жыл бұрын
Hi thanks for valuable videos. Please upload some videos on How to create animated plot in streamlit
@misraturp
@misraturp 3 жыл бұрын
Hey Nakul, thank you! By animated plots, do you mean plots that load in an animated way? Could you point me to some examples?
@nakulmali1413
@nakulmali1413 3 жыл бұрын
@@misraturp Yes means dataset visualisations/plot loaded in animated way in streamlit. For example animated bar chart in streamlit kzbin.info/www/bejne/pHPNk5toYpifo5Y. I search videos on animated visualization in streamlit but I am not getting any streamlit video on this topic. I am beginner in streamlit app making. I want to learn this visualization and implement in my apps. So please help me. Thank you !
@alexjohnson2660
@alexjohnson2660 2 жыл бұрын
Hi Misra, Thank you for your amazing tutorial about streamlit. Can you please provide the .csv file that you are using in your tutorial? The link you provided has a different .csv file with only 4 columns, yours has more than 4 columns.
@jarosaw4013
@jarosaw4013 2 жыл бұрын
GJ
@misraturp
@misraturp 2 жыл бұрын
Thanks
@ravindrakarande59
@ravindrakarande59 Жыл бұрын
The tutorial is amazing, thank you for such a great tutorial. But AttributeError: module 'streamlit' has no attribute 'beta_container' this error is due to temporary feature of stramlit beta_container which is removed that is the reason the code does not work......
@owecen
@owecen Жыл бұрын
Danke!
@misraturp
@misraturp Жыл бұрын
Thank you Gunter!
@elhalmihamza28
@elhalmihamza28 Жыл бұрын
hi can i ask you question about st_aggrid in streamlit ?........
@allgasnobrakeseul
@allgasnobrakeseul Жыл бұрын
Can i ask for the exact dataset you used?
@IvanSedov-i7f
@IvanSedov-i7f Жыл бұрын
Большое спасибо, все было понятно и просто
@misraturp
@misraturp Жыл бұрын
Пожалуйста!
@Chevignay
@Chevignay 2 жыл бұрын
Great video thank you
@misraturp
@misraturp 2 жыл бұрын
You're very welcome :)
@pawandabi6367
@pawandabi6367 Жыл бұрын
how i can download an image from streamlit please help me
@InteligenciadeNegocios
@InteligenciadeNegocios 2 жыл бұрын
Hi Misra, can you please make a tutorial about : users fill information/fields and then can be send to my email? Thanks
@JonathanFuchs4444
@JonathanFuchs4444 2 жыл бұрын
Excellent!
@misraturp
@misraturp 2 жыл бұрын
Thank you!
@shivanshjayara6372
@shivanshjayara6372 3 жыл бұрын
hi mam, mam here u have taken just two columns se_col and disp_col. In my model i have taken 4 columns. So my question is: in case of estimator, do i have to write 4 estimator in my case then? And if yes then wht is the need of estimator then? plz revert
@misraturp
@misraturp 3 жыл бұрын
Hey Shivansh, I'd be happy to help. What do you mean exactly by the estimator? Could you point out where I mention that in the video?
@francisgikaru4303
@francisgikaru4303 3 жыл бұрын
thank you so much.
@misraturp
@misraturp 3 жыл бұрын
Always welcome!
@kasipualparthi6215
@kasipualparthi6215 Жыл бұрын
Hi, I have one doubt, How to observe or capture user activities from streamlit app to normal text file (txt) . Please help on this. Thanks, Kasi
@misraturp
@misraturp Жыл бұрын
Never heard of this being possible yet Kasi :/
@karimnaufal9792
@karimnaufal9792 2 жыл бұрын
Awesome!!
@misraturp
@misraturp 2 жыл бұрын
Thanks!
@ashds1925
@ashds1925 2 жыл бұрын
Hey Misra ! thanks for the tutorial , while downloading the file ,was it an indiviudal csv file such or did you convert the parquet file to csv before proceeding on the EDA
@hopelessdecoy
@hopelessdecoy 2 жыл бұрын
I am having a tough time understanding putting data into bar_chart, attempting to just have x axis be a name and y axis be an integer for each value pair. pulling 2 columns from pandas. I cannot get it to work right......
@misraturp
@misraturp 2 жыл бұрын
Have you taken a look at the documentation?
@olgertorres1712
@olgertorres1712 2 жыл бұрын
awesome!
@misraturp
@misraturp 2 жыл бұрын
Thank you!
@HariPrabodham_Spirit
@HariPrabodham_Spirit 3 жыл бұрын
How do we use streamlit with NLP stuff? And how to develop the backend in streamlit?
@misraturp
@misraturp 3 жыл бұрын
There is no backend with Streamlit. That's the nice thing about it. You can do everything in the front end.
@3D_Test_videos
@3D_Test_videos Жыл бұрын
Where is the CSV file?
@cyclonel8980
@cyclonel8980 Жыл бұрын
Hi Misra, thanks for the useful tutorial! Is there a way to create an interactive button whose color would change depending on whether the user right clicks or left clicks the button (and to then record the user's choice)?
@misraturp
@misraturp Жыл бұрын
Not that I know of :/
@9495tj
@9495tj 3 жыл бұрын
Hello Misra, Thank you for the wonderful video. May I know what kind of input method should I use if I want the user to click one of the boxes in a grid of available labeled boxes?
@misraturp
@misraturp 3 жыл бұрын
Hey 9495tj, I don't think that is a supported way of collecting input, if I understood you correctly.
@9495tj
@9495tj 3 жыл бұрын
@@misraturp ok.. thank you. I was unable to find something that would do that
@jarosaw4013
@jarosaw4013 2 жыл бұрын
Im from Poland. Have a nice day.
@misraturp
@misraturp 2 жыл бұрын
Hey there
@kartiknarula4413
@kartiknarula4413 2 жыл бұрын
Hi, how can I publish this online (so that anyone can access my web page), and not on local host? Thanks!
@misraturp
@misraturp 2 жыл бұрын
I mention that in the 4th video of these series. :)
@sofun728
@sofun728 3 жыл бұрын
It will be helpful for us if you provide .csv file from your side... Please....(from beginner side) :)
@misraturp
@misraturp 3 жыл бұрын
Hey there, Data I use is from NYC Open Data - www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page
@tomkmb4120
@tomkmb4120 Жыл бұрын
This framework seems very approachable, thanks for the great tutorial videos. I am looking to make a web app using streamlit that a CSV can be uploaded to by the user and it will have a default set of 'clean up' tasks performed on it that are prespecified by me and then the user can download the amended CSV, do you think Streamlit is suitable for that?
@misraturp
@misraturp Жыл бұрын
That sounds like an awesome idea for a Streamlit app actually.
@tomkmb4120
@tomkmb4120 Жыл бұрын
@@misraturp Glad to hear it because I made it over a couple of weeks after watching your videos! Thanks for the great content Misra!
@misraturp
@misraturp Жыл бұрын
@@tomkmb4120 You are very welcome!
@williamsGP
@williamsGP 3 жыл бұрын
Hello can you pass me your dataset taxi_data?
@misraturp
@misraturp 3 жыл бұрын
Hey Williams Guerrero, you can find that dataset and datasets from other years on this website: opendata.cityofnewyork.us/
@yashguleria926
@yashguleria926 3 жыл бұрын
Hi!! Thanks for this tutorial. Is there a way to download the input to the system? For eg: having 'yes' and 'no' buttons and asking subjects to click. Then, automatically recording their feedback onto the system?
@misraturp
@misraturp 3 жыл бұрын
What do you mean exactly by the system? If I understand you correctly you can achieve what you want by using built-in Streamlit buttons.
@yashguleria926
@yashguleria926 3 жыл бұрын
@@misraturp Thank you for the reply, apologies for not being clear. I mean it is possible to store the feedback from these click buttons into a file on the computer which can be accessed later?
@misraturp
@misraturp 3 жыл бұрын
@@yashguleria926 My suggestion for that would be to safe the responses on a Python structure. Could be a Pandas dataframe or a list for example. And at the end save it to a .txt file.
@sultanmohiuddin5063
@sultanmohiuddin5063 3 жыл бұрын
thank you.. you did great....i have a question can you please tell me how can we take csv file as input from user using streamlit .....or is it possible using another library in python.... i will be very thankfull...waiting for your answer....
@misraturp
@misraturp 3 жыл бұрын
Hello Sultan, it looks like Streamlit added a functionality to allow the user to upload files. Here's how you do it uploaded_file = st.file_uploader("Choose a file", type=['txt', 'jpg']) You can follow the details in the documentation for more details on how to use it. Go to this page and search for file_uploader docs.streamlit.io/en/stable/api.html
@sultanmohiuddin5063
@sultanmohiuddin5063 3 жыл бұрын
@@misraturp thanks a billion maam.... Can you suggest me any tutorial regarding this..It will be of much help for me..Thank You
@misraturp
@misraturp 3 жыл бұрын
@@sultanmohiuddin5063 I'm not familiar with any tutorials on this topic but if you followed this video, I'd suggest adding the line uploaded_file = st.file_uploader("Choose a file", type=['txt', 'csv']) and see how it works.
@sultanmohiuddin5063
@sultanmohiuddin5063 3 жыл бұрын
@@misraturp maam my code is as follow: st.title('malking a button') result=st.button('click here') if result: uploaded_file = st.file_uploader("Choose a file", type=['txt', 'jpg','csv']) your command helped me to browse files from my computer...nd this is great...the only problem is when i import my csv file it doesnt show up in the browser..kindly guide me if i am doing something wrong...Thank you.
@sultanmohiuddin5063
@sultanmohiuddin5063 3 жыл бұрын
maam i am keenly waiting your answer:-))
@cssensei610
@cssensei610 3 жыл бұрын
show us how manage sessionstates
@misraturp
@misraturp 3 жыл бұрын
Maybe if you ask nicely 😜
@TopMusic-rw3yz
@TopMusic-rw3yz 3 жыл бұрын
How can I get the data?
@misraturp
@misraturp 3 жыл бұрын
I am using a reduced version of it but you can find the original data here (2019 January - Yellow Taxi trip records) www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page
@HariPrabodham_Spirit
@HariPrabodham_Spirit 3 жыл бұрын
@@misraturp Thank you so much for sharing the dataset.
@misraturp
@misraturp 3 жыл бұрын
@@HariPrabodham_Spirit you're welcome. :)
@misraturp
@misraturp 3 жыл бұрын
👉 All you need to know about Pandas in one place! Download my Pandas Cheat Sheet (free) misraturp.gumroad.com/l/pandascs
@klogan2748
@klogan2748 3 жыл бұрын
Hi, useful tutorial. My model has label encoded features and how do I get user inputs for those features? thanks!
@misraturp
@misraturp 3 жыл бұрын
Thank you. You can use string based input widgets as mentioned here under the title "Display interactive widgets" docs.streamlit.io/en/stable/api.html Some examples are multiselect, selectbox, checkbox.
@jonathansmith261
@jonathansmith261 2 жыл бұрын
Thank you so much, this has really helped me and I look forward to learning more from your blog and channel.
@misraturp
@misraturp 2 жыл бұрын
You are welcome Jonathan! I’m glad it is helpful. :)
How to Integrate Machine Learning to Streamlit - Part 3
10:24
Mısra Turp
Рет қаралды 25 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1,1 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН
How to Add a User Authentication Service (Login Form) in Streamlit
7:14
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 100 М.
How to explore data in Python with PyGWalker and Streamlit
16:04
Build a Streamlit Chatbot FAST 🤯
8:04
Coding Is Fun
Рет қаралды 52 М.
How to make NESTED buttons in Streamlit with Session State
3:51
Fanilo Andrianasolo
Рет қаралды 18 М.
Demo: App Development with Streamlit
21:47
Snowflake Developers
Рет қаралды 27 М.
Using Data Visualization to Identify Data Problems
12:27
Mısra Turp
Рет қаралды 2,5 М.