New Streamlit Multi-Page Web Apps - Converting Existing Apps

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 22

  • @LookNumber9
    @LookNumber9 2 роки тому

    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)

  • @Samuel-br6lr
    @Samuel-br6lr 2 місяці тому

    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?

  • @willaops3189
    @willaops3189 2 роки тому

    Thank you very much for this clear and simple explanation

  • @Murilo-w8e
    @Murilo-w8e 3 місяці тому

    helped a lot, thanks

  • @taofiqsalami3116
    @taofiqsalami3116 2 роки тому +1

    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

    • @AndyMcDonald42
      @AndyMcDonald42  2 роки тому

      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.

    • @taofiqsalami3116
      @taofiqsalami3116 2 роки тому

      @@AndyMcDonald42 Thanks Andy, YES, it opens with Notepad and I will try and and read it as a txt file in dataframe. Thanks

  • @whynot6931
    @whynot6931 2 роки тому

    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?

  • @TheCJD89
    @TheCJD89 2 роки тому

    This is brilliant. Streamlit really is excellent! :)

  • @silverfang5776
    @silverfang5776 2 роки тому +1

    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?

    • @AndyMcDonald42
      @AndyMcDonald42  2 роки тому +1

      If you were deploying it you would also need to include the pages subdirectory and your mainpage.py or app.py file.

  • @johnmcgregor773
    @johnmcgregor773 2 роки тому

    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

    • @AndyMcDonald42
      @AndyMcDonald42  2 роки тому

      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

  • @FancyLillyChaan
    @FancyLillyChaan 2 роки тому

    Thank You Andy! 🙏💚

  • @mouhameddiop2245
    @mouhameddiop2245 2 роки тому

    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

  • @limericksudz12
    @limericksudz12 Рік тому

    Thanks for this, it was very help and well explained. Any chance you could add authentication to this app?

    • @AndyMcDonald42
      @AndyMcDonald42  Рік тому

      Check out this tutorial on the Streamlit blog
      blog.streamlit.io/streamlit-authenticator-part-1-adding-an-authentication-component-to-your-app/amp/

  • @petroali6412
    @petroali6412 2 роки тому

    🌹🌹🌹