-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
51 lines (44 loc) · 1.53 KB
/
Copy pathapp.py
File metadata and controls
51 lines (44 loc) · 1.53 KB
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
44
45
46
47
48
49
50
51
import streamlit as st
# Configure the page - this must be the first Streamlit command
st.set_page_config(
page_title="Advanced Data Analytics Dashboard",
page_icon="📊",
layout="wide",
initial_sidebar_state="expanded"
)
# Import our custom modules
from src.upload import render_upload_section
from src.overview import render_overview_section
from src.cleaning import render_cleaning_section
from src.analysis import render_analysis_section
from src.visualizations import render_visualizations_section
from src.export import render_export_section
def main():
st.sidebar.title("📊 Data Analytics Pro")
st.sidebar.markdown("---")
# Navigation
app_mode = st.sidebar.radio("Navigation", [
"1. Data Upload/Input",
"2. Data Profiling",
"3. Data Cleaning",
"4. Statistical Analysis",
"5. Visualizations",
"6. Export Data"
])
st.sidebar.markdown("---")
st.sidebar.info("Upload your CSV file first to unlock all other modules.")
# Render the selected module
if app_mode == "1. Data Upload/Input":
render_upload_section()
elif app_mode == "2. Data Profiling":
render_overview_section()
elif app_mode == "3. Data Cleaning":
render_cleaning_section()
elif app_mode == "4. Statistical Analysis":
render_analysis_section()
elif app_mode == "5. Visualizations":
render_visualizations_section()
elif app_mode == "6. Export Data":
render_export_section()
if __name__ == "__main__":
main()