Update hey.py
Browse files
hey.py
CHANGED
|
@@ -1,18 +1,29 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
|
|
|
|
|
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
col1, col2 = st.columns(2)
|
| 5 |
|
| 6 |
with col1:
|
| 7 |
-
if st.button("Go to
|
| 8 |
-
|
| 9 |
|
| 10 |
with col2:
|
| 11 |
-
if st.button("Go to
|
| 12 |
-
st.session_state.page = "page2"
|
| 13 |
-
|
| 14 |
-
if "page" in st.session_state:
|
| 15 |
-
if st.session_state.page == "page1":
|
| 16 |
-
page1.show()
|
| 17 |
-
elif st.session_state.page == "page2":
|
| 18 |
page2.show()
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from pages import page1, page2 # Assuming page1 = NumPy, page2 = EDA
|
| 3 |
|
| 4 |
+
# Main Heading
|
| 5 |
+
st.title("π Innomatics Research Center")
|
| 6 |
|
| 7 |
+
# Short Descriptions
|
| 8 |
+
st.subheader("πΈ Week 1 Learning Modules")
|
| 9 |
+
|
| 10 |
+
st.markdown("""
|
| 11 |
+
**1. NumPy (Numerical Python)**
|
| 12 |
+
NumPy is a core Python library for scientific computing. It enables efficient operations on large arrays and matrices, and provides mathematical functions to perform computations with ease.
|
| 13 |
+
|
| 14 |
+
**2. EDA (Exploratory Data Analysis)**
|
| 15 |
+
EDA is the first step in any data analysis or machine learning workflow. It helps you understand your dataset, find patterns, detect anomalies, and summarize key statistics β both numerically and visually.
|
| 16 |
+
""")
|
| 17 |
+
|
| 18 |
+
st.markdown("---")
|
| 19 |
+
|
| 20 |
+
# Page Navigation Buttons
|
| 21 |
col1, col2 = st.columns(2)
|
| 22 |
|
| 23 |
with col1:
|
| 24 |
+
if st.button("π Go to NumPy Module"):
|
| 25 |
+
page1.show()
|
| 26 |
|
| 27 |
with col2:
|
| 28 |
+
if st.button("π Go to EDA Module"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
page2.show()
|