Thanks for this. Very useful. Also, we can set the default in a selectbox with index # index is default (Depth, Magnitude) x_axis_val = col1.selectbox('Select X-Axis value', options=df.columns, index=5) y_axis_val = col2.selectbox('Select Y-Axis value', options=df.columns, index=8)
Hi, the st.session_state only worked to allow other pages have access to that file, but the main page refreshes and lose that data still. Any comments on this?
Hi Andy, I'm working on some well log data currently but I have a problem, some of the files are in LAS format and many are in .log format. I've been able to query the LAS files with lasio and welly but no headway on the log files. I would appreciate any help
Hey Taofiq, unfortunately I have not worked with .log files. Are you able to open them with Notepad or other text editor? If so, the best way may be to treat them as ASCII type files and try to read them in as text files using pandas.
Thank you for the video. May i know if there is a way to prevent the page from refreshing everytime i click on the main page as i want to keep the file i browse on the main page?
Hi Andy, these are really helpful thanks. Sorry if i have missed it but have you done a video yet on how to deply a streamlit app to a local network, or alternatively host it over the internet. Basically I want to deploy an app to someone who doesnt have python installed. thanks
Thanks John. No I haven’t done that yet. I was planning to do a series going from scratch all the way through to deploying a Streamlit app. If you are looking for a solution now, then Streamlit offer the option to host your app docs.streamlit.io/streamlit-cloud/get-started/deploy-an-app
Hi Andy, thank you for your vidéo, it is interresting. I have a problem when i try to open one page on a new tab. We have the issu st.session_state has no key
Thanks for this. Very useful.
Also, we can set the default in a selectbox with index
# index is default (Depth, Magnitude)
x_axis_val = col1.selectbox('Select X-Axis value', options=df.columns, index=5)
y_axis_val = col2.selectbox('Select Y-Axis value', options=df.columns, index=8)
Thanks Mark and thanks for the info! 🙂
Hi, the st.session_state only worked to allow other pages have access to that file, but the main page refreshes and lose that data still.
Any comments on this?
Thank you very much for this clear and simple explanation
helped a lot, thanks
Hi Andy, I'm working on some well log data currently but I have a problem, some of the files are in LAS format and many are in .log format. I've been able to query the LAS files with lasio and welly but no headway on the log files. I would appreciate any help
Hey Taofiq, unfortunately I have not worked with .log files. Are you able to open them with Notepad or other text editor? If so, the best way may be to treat them as ASCII type files and try to read them in as text files using pandas.
@@AndyMcDonald42 Thanks Andy, YES, it opens with Notepad and I will try and and read it as a txt file in dataframe. Thanks
Thank you for the video.
May i know if there is a way to prevent the page from refreshing everytime i click on the main page as i want to keep the file i browse on the main page?
This is brilliant. Streamlit really is excellent! :)
Thanks Conor. It really is a great tool
so if i already have this kind of multipage, and i want to deploy, i just need to deploy the of the mainpage.py....is that right?
If you were deploying it you would also need to include the pages subdirectory and your mainpage.py or app.py file.
Hi Andy, these are really helpful thanks. Sorry if i have missed it but have you done a video yet on how to deply a streamlit app to a local network, or alternatively host it over the internet. Basically I want to deploy an app to someone who doesnt have python installed. thanks
Thanks John.
No I haven’t done that yet. I was planning to do a series going from scratch all the way through to deploying a Streamlit app.
If you are looking for a solution now, then Streamlit offer the option to host your app
docs.streamlit.io/streamlit-cloud/get-started/deploy-an-app
Thank You Andy! 🙏💚
No problem. Thanks for watching 👍
Hi Andy, thank you for your vidéo, it is interresting.
I have a problem when i try to open one page on a new tab. We have the issu st.session_state has no key
When using webbrowser library
Thanks for this, it was very help and well explained. Any chance you could add authentication to this app?
Check out this tutorial on the Streamlit blog
blog.streamlit.io/streamlit-authenticator-part-1-adding-an-authentication-component-to-your-app/amp/
🌹🌹🌹