Update app.py
Browse files
app.py
CHANGED
@@ -148,9 +148,6 @@ def perform_eda():
|
|
148 |
Dive into the data to understand income patterns and key contributing factors. Let's start our data-driven journey! π°π
|
149 |
""")
|
150 |
|
151 |
-
# Show the Power BI dashboard
|
152 |
-
power_bi()
|
153 |
-
|
154 |
# Add insights and recommendations button
|
155 |
if st.button("Show Insights and Recommendations"):
|
156 |
display_insights_and_recommendations()
|
@@ -167,7 +164,7 @@ def display_insights_and_recommendations():
|
|
167 |
st.image("default.jpg", use_column_width=True)
|
168 |
|
169 |
# Provide a link to the full Power BI dashboard
|
170 |
-
st.write("Explore the
|
171 |
|
172 |
# Table with insights and recommendations
|
173 |
st.subheader("Insights and Recommendations")
|
@@ -182,20 +179,6 @@ def display_insights_and_recommendations():
|
|
182 |
["π Data-driven insights are crucial for addressing income inequality.", "Continue investing in data collection and analysis to inform evolving policies."]
|
183 |
])
|
184 |
|
185 |
-
def power_bi():
|
186 |
-
"""
|
187 |
-
Display a screenshot of the Power BI dashboard with a link to the full dashboard.
|
188 |
-
"""
|
189 |
-
|
190 |
-
st.subheader("Exploring Income Data")
|
191 |
-
st.write("Let's dive deeper into the data to understand income distribution and relationships between variables.")
|
192 |
-
|
193 |
-
# Add a screenshot of the Power BI dashboard
|
194 |
-
st.image("default.jpg", use_column_width=True)
|
195 |
-
|
196 |
-
# Provide a link to the full Power BI dashboard
|
197 |
-
st.write("Explore the full Power BI dashboard [here](https://app.powerbi.com/view?r=eyJrIjoiZDNjMmExZjYtMWU2NS00NTBjLTk4Y2EtYmQ2MWU2OWMwODMyIiwidCI6IjQ0ODdiNTJmLWYxMTgtNDgzMC1iNDlkLTNjMjk4Y2I3MTA3NSJ9).")
|
198 |
-
|
199 |
def prediction():
|
200 |
|
201 |
# Load the saved model and unique values:
|
|
|
148 |
Dive into the data to understand income patterns and key contributing factors. Let's start our data-driven journey! π°π
|
149 |
""")
|
150 |
|
|
|
|
|
|
|
151 |
# Add insights and recommendations button
|
152 |
if st.button("Show Insights and Recommendations"):
|
153 |
display_insights_and_recommendations()
|
|
|
164 |
st.image("default.jpg", use_column_width=True)
|
165 |
|
166 |
# Provide a link to the full Power BI dashboard
|
167 |
+
st.write("Explore the interactive Power BI dashboard [here](https://app.powerbi.com/view?r=eyJrIjoiZDNjMmExZjYtMWU2NS00NTBjLTk4Y2EtYmQ2MWU2OWMwODMyIiwidCI6IjQ0ODdiNTJmLWYxMTgtNDgzMC1iNDlkLTNjMjk4Y2I3MTA3NSJ9).")
|
168 |
|
169 |
# Table with insights and recommendations
|
170 |
st.subheader("Insights and Recommendations")
|
|
|
179 |
["π Data-driven insights are crucial for addressing income inequality.", "Continue investing in data collection and analysis to inform evolving policies."]
|
180 |
])
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
def prediction():
|
183 |
|
184 |
# Load the saved model and unique values:
|