Update app.py
Browse files
app.py
CHANGED
@@ -187,6 +187,26 @@ def power_bi():
|
|
187 |
""", unsafe_allow_html=True)
|
188 |
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
def prediction():
|
191 |
|
192 |
# Load the saved model and unique values:
|
|
|
187 |
""", unsafe_allow_html=True)
|
188 |
|
189 |
|
190 |
+
# Add insights and recommendations
|
191 |
+
st.subheader("Data Insights and Recommendations")
|
192 |
+
st.write("""
|
193 |
+
From the dashboard, you can now appreciate the serious income inequality problem. Explore key insights and actionable recommendations for stakeholders to fight income inequality.
|
194 |
+
""")
|
195 |
+
|
196 |
+
# Table with insights and recommendations
|
197 |
+
st.table([
|
198 |
+
["π Higher education levels positively correlate with higher income.", "Invest in accessible and quality education, including scholarships and vocational training, for lower-income communities."],
|
199 |
+
["π©βπ Women are more likely below the income threshold than men.", "Support gender equality programs addressing wage disparities and encouraging women in STEM fields."],
|
200 |
+
["π₯ Income inequality exists across all employment statuses.", "Implement policies and programs supporting stable employment, job training, and entrepreneurship."],
|
201 |
+
["π Racial income disparities: Foster diversity and inclusion in workplaces.", "Promote equal opportunities, diversity training, and an inclusive work environment."],
|
202 |
+
["π Foreigners concentrated below the income threshold.", "Review immigration policies to ensure fair treatment and integration into the workforce."],
|
203 |
+
["π’ Majority below threshold in 'Unknown' occupations.", "Research challenges in different occupations and implement targeted support programs."],
|
204 |
+
["πΈ Nonfilers have higher representation below the threshold.", "Evaluate tax policies for fairness and consider incentives for low-income individuals."],
|
205 |
+
["π Data-driven insights are crucial for addressing income inequality.", "Continue investing in data collection and analysis to inform evolving policies."]
|
206 |
+
])
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
def prediction():
|
211 |
|
212 |
# Load the saved model and unique values:
|