How do I switch to a new page based on my sidebar radio button?

I want to have new content served when my sidebar radio button changed, any suggestion?

Hi @drhanlau, thanks for checking out Streamlit!

In our tutorial section, we provide a similar example to your question around conditional display of data:
https://docs.streamlit.io/tutorial/create_a_data_explorer_app.html#use-a-button-to-toggle-data

It feels like you should be able to achieve your goal in a similar way, checking the value of the radio box then conditionally showing your output. What have you tried so far?

Best,
Randy