One of my buddies spent like 2 weeks to grasp these concepts and you helped me to do it in 15min! Thank you a lot!
@MrAdhityas2 жыл бұрын
what a coincidence, i'm in the middle of creating a streamlit webapp for work, this really helps. thank you ms. , and thank you youtube algorithm
@misraturp2 жыл бұрын
Awesome coincidence! Good luck with the project!
@andresvodopivec5950 Жыл бұрын
This is the most straightforward yet most understandable and practical way of explaining session states. What a talent!!!! Thank you so much for your time. I subscribed to your channel.
@jeffoberlander334611 ай бұрын
This just made my day. Solved a problem I've been stuck on all day. Thank you!
@curtisjackson33772 жыл бұрын
Wow, I was wondering how I can bring my idea to real life using Streamlit and boom I found your video for session states....Many thanks for your time and am very grateful to have found your channel
@misraturp2 жыл бұрын
That's awesome Curtis! Thank you for your nice words and of course, you are welcome :)
@chriskeo392 Жыл бұрын
Boom
@mohz8323 жыл бұрын
best video so far about session states in Streamlit. Thanks!
@misraturp3 жыл бұрын
Thank you Mohamed!
@qulta.digital9 ай бұрын
forever searching for this!! thank you
@TiagoSilva-ii9rq2 жыл бұрын
Thank you . I am creating a web app with streamlit and this is exactly what I need !!
@misraturp2 жыл бұрын
That's great to hear!
@parttimelarry3 жыл бұрын
great demo, very easy to follow. will try this feature soon. thanks!
@misraturp3 жыл бұрын
Thank you! Have fun with Streamlit.
@RomarioCostaBarros Жыл бұрын
great video. One tip to increase your visibility on the platform is to enable content translation. so people from other countries could have access to its content.
@Han-ve8uh2 жыл бұрын
Could you explain the "if st.session_state.kind_of_column"? When would this be not set or set? Docs say "Every widget with a key is automatically added to Session State". This sounds like it will not be set on 1st run because handle_click_wo_button will not be called assuming no changes done to the radio button right?
@louispetitjean16523 жыл бұрын
Simply the best. I use your tutorials all the time :)
@misraturp3 жыл бұрын
Great to hear Louis! Thank you.
@mikemihay2 жыл бұрын
Thank you for sharing this video! Very useful tips!
@misraturp2 жыл бұрын
You are so welcome!
@tgard00711 ай бұрын
Fantastically done video thank you
@fponce78 Жыл бұрын
Hi ! does the on-change work using forms? I'm trying to do a nested select box in a form and I couldn't find out how to make it work, hope you have a solution. Thanks
@mustafayalcn6604 Жыл бұрын
thanks for your beautiful explanations. waiting your new videos.
@mrrobot66192 жыл бұрын
Hi there. Thanks for all your effort. The questions that is have is do you know how to save the sesssion state of a radio button or a multi select? I can't get it to work. All other session states are working just fine....
@santhoshreddykesavareddy10783 жыл бұрын
Wow! Well explained and very simple to understand and to start coding. Thank you for the video :). If possible can you please make a video using Streamlit extracting the data from any database with the help of user inputs in this way users can pull the data depending on the date selections. Thank you so much appreciate it :)
@misraturp3 жыл бұрын
Thank you! I'll note that down for future video ideas. :)
@santhoshreddykesavareddy10783 жыл бұрын
@@misraturp Thank you :). You’re awesome 🤩
@ibaha411 Жыл бұрын
Did you post the code you used here for people to download? Where is it?
@Han-ve8uh2 жыл бұрын
I wish to confirm that the problems in this video only occur because of the ordering of the commands right? Assuming we put the radio above the dropdown, there would be no need for callbacks?
@SourabhSharma-y7j Жыл бұрын
How do we set callbacks when using third-party plugins like streamlit_plotly_events? When I click on the plot it refreshes the page without updating the variable state. :(
@fatihgunduz9350 Жыл бұрын
Hey Mısra, I have three multiselect in sidebar. I want to revise multi select data according to each other. How do ı make. Can you help me?. thanks in advance
@pydraktor2 жыл бұрын
Hello, do u know how I can handle serveral dataloader on the same site preventing from uploading each, if only one changes. Not being sure if the on change would do the trick. Anyway confused if a dataloader hilds already the data or only the path and meta data and must be later read like pandas.read_csv(st.dataloader(...)) to use it. My RAM looked a bit like st.dataloader already loads to RAM
@ibaha411 Жыл бұрын
Is there a way to make the table editable? Could the user change values in the table?
@paulkabiito835511 ай бұрын
Hi, thanks for your awesome videos, could you please help with the print/ save as pdf function for a desired output or page in streamlit
@loukas20607 ай бұрын
Very helpful. Thanks!
@jimpenner962 жыл бұрын
What if you wanted data that after 6 years, the data from year 1 isnt necessary. I am thinking here of where there are calculations in your data and they are only needed on a rolling 5 years period?
@hamzaahmad5642 жыл бұрын
hey misra is it possible to use this for sliders? i'm thinking how this can be used as a workaround to programatically change the value of a slider.
@davutlu602 жыл бұрын
Çok sagol Mısra, cok yardımcı oldu... Kolaylıklar..
@misraturp2 жыл бұрын
Sevindim. :) Kolay gelsin!
@maxpandora9952 жыл бұрын
Is it possible say there is a search box where a user can enter a search term, then the data frame will be filtered to show only the rows that contains that search term? Could you please do a video on that?
@misraturp2 жыл бұрын
Sure that's possible Max. The display will happen through Streamlit but the filtering should happen on Pandas.
@maxpandora9952 жыл бұрын
@@misraturp thank you.
@sandeepbhragava31652 жыл бұрын
I am executing below code however the function that should be called after the button is clicked its called even before the button is clicked with st.form(key='form1'): table_name1 = st.text_input("enter table name to extract data from ","") but1 = st.form_submit_button(label='Submit to add fields and condition', on_click=shw_form2()) Could you please let me know what the issue is, Thanks!
@misraturp2 жыл бұрын
Hey Sandeep, do you mean the text_input is called before the button click?
@cssensei6103 жыл бұрын
Hey Misra, Just a “semantic” suggestion:-line 15 & line 20-the button labels should be “Show more ROWS” not columns since when you’re passing the “number_of_rows” to head (and the session variable name itself represents that)
@misraturp3 жыл бұрын
Thanks for the correction! I missed it apparently. :)
@shreemunpranav6753 ай бұрын
Hi , I am trying to implement user timeout in streamlit but unable to do so. Anyone who has figured it out????
@prateeksenapati21523 жыл бұрын
This is very helpful, thank you!
@misraturp3 жыл бұрын
You are very welcome :)
@sandeepbhragava31652 жыл бұрын
Hi Misha, Have a general question on multiselect option in streamlit. I basically have a multiselect button to which I am passing a list of values. This multiselect is within a form as I only want it to save once the user click on the submit button. Unfortunately when I click on the submit button, all the items selected from.the list are not getting saved. I also tried saving it in session_state field. Can you please help.here I to use multiselect within a form and save the selected items. Thanks!!
@misraturp2 жыл бұрын
Hey Sandeep, would be hard for me to see what's going wrong without seeing the code unfortunately.
@newlife4353 Жыл бұрын
could you please make a view how to integrate Dropbox refresh access token to steamlit?
@jaggyjut2 жыл бұрын
Awesome tutorial. Thank you. Could create a tutorial on how to build an invoice form in which one can multiple items dynamically. For example click a button to add a new line item
@misraturp2 жыл бұрын
Thanks! I'll look into it.
@jaggyjut2 жыл бұрын
@@misraturp thank you. Im trying to convert an excel rent calculator to a streamlit web app. Depending on the number of household members, require ability to add new rows. Ideally fields are tenantno, income type and income amount.
@cobrakevg2 жыл бұрын
I need some help i can't put 2 pieces of code together. everytime i do they open in 2 different tabs in chrome. how can i make them open in 1 tab? i have the codes i can send them please its urgent
@misraturp2 жыл бұрын
Which command are you using to run the app?
@Master_of_Chess_ShortsАй бұрын
Nice example of show fewer rows...
@Antonio-bm8hv2 жыл бұрын
Hi Misra, thanks for your explanations. I am trying to apply your code in my Streamlit project without success. Briefly, I am preparing a questionnaire where the user goes through different questions and can respond based on a drop down list. The goal is that the user cannot reedit the answers and the code force him/her to resolve the next question and so on. However, as the project is now, the user can reedit the questions and when the user moves to the next one and answer it, the code starts from beginning losing all the info generated. Could you please help?
@misraturp2 жыл бұрын
Hey Antonio, maybe starting with a simpler app to understanding the logic of the session states could help? This sounds like a bit of a complicated project.
@samhudaya7549 Жыл бұрын
Knowledge and beauty
@arturocdb3 жыл бұрын
Very useful, thank you
@misraturp3 жыл бұрын
You're welcome. :)
@eben47323 жыл бұрын
Hello Misra, I followed the tutorial carefully, but I get the error, KeyError, when I select a column and run the code.
@misraturp3 жыл бұрын
For which line are you getting this error exactly?
@thepresistence59352 жыл бұрын
what IDE are you using?
@misraturp2 жыл бұрын
I am using the Sublime text editor.
@JonathanFuchs44443 жыл бұрын
thanks! that was great
@misraturp3 жыл бұрын
Glad you liked it!
@junevesstein18 ай бұрын
love your videos, but now streamlit has updated its documentations and I can nt find anything anymore :( anyway, thanks for the video!!!!!!
@gbennett1000 Жыл бұрын
You are awesome
@misraturp Жыл бұрын
Thank you! :)
@compton83013 жыл бұрын
Thank you! :)
@misraturp3 жыл бұрын
You are very welcome. :)
@vaibhavk24302 жыл бұрын
can you send email using streamlit without using less secure option in gmail.
@misraturp2 жыл бұрын
Never tried this honestly.
@josevicenteruizcaro85363 жыл бұрын
Thanks!!))
@misraturp3 жыл бұрын
No problem!
@Hamzaelbouti2 жыл бұрын
sorry ... stil to small ... but great tutorial
@misraturp2 жыл бұрын
I'm working on it :D Can't fix the old videos but the latest ones I try to make it as big as possible.
@comar8886 Жыл бұрын
🇧🇷🖥️
@misraturp3 жыл бұрын
👉 Download the Streamlit project template to get going in no time - misraturp.gumroad.com/l/stemp