-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.py
43 lines (22 loc) · 900 Bytes
/
App.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import streamlit as st
import pandas as pd
from streamlit_option_menu import option_menu
from functions import Main_page,show_dataframe, analyze_data,Clustering
#Page Setup
st.set_page_config(page_title="Mall Customers Segmentation Dashboard Application")
st.title("Mall Customer Segmentation Dashboard Application")
#sidebar menu
import streamlit as st
with st.sidebar:
selected = option_menu("Select an Option", ["Main Page", "Explore Data", "Analyze the Data", "Customer Clusters"],
icons=['house', 'search','graph-up-arrow','clipboard-data'], menu_icon="menu-down", default_index=1)
selected
#Fuctions
if selected == "Main Page":
Main_page()
if selected =="Explore Data":
show_dataframe()
if selected =="Analyze the Data":
analyze_data()
if selected == "Customer Clusters":
Clustering()