Skip to content

Instantly share code, notes, and snippets.

@cindyangelira
Created January 23, 2023 15:24
Show Gist options
  • Save cindyangelira/6f24bf12374d6e11459cf66bc1d8e075 to your computer and use it in GitHub Desktop.
Save cindyangelira/6f24bf12374d6e11459cf66bc1d8e075 to your computer and use it in GitHub Desktop.
Multipage Streamlit
side = st.sidebar.selectbox("Select your page", ["Home", "Data Exploration", "RFM Analysis", "Market Basket Analysis", "Customer Lifetimes Value"])
if side == "Home":
home()
elif side == "Data Exploration":
data_exploration()
elif side == "RFM Analysis":
RFM()
elif side == "Market Basket Analysis":
market_basket()
else:
churn()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment