DrishtiSharma commited on
Commit
d650cf1
Β·
verified Β·
1 Parent(s): 59727ea

Update mylab/fixed_font_issue.py

Browse files
Files changed (1) hide show
  1. mylab/fixed_font_issue.py +1 -16
mylab/fixed_font_issue.py CHANGED
@@ -301,22 +301,7 @@ if st.session_state.df is not None:
301
  st.markdown(report_result if report_result else "⚠️ No Report Generated.")
302
 
303
  # Step 4: Generate Visualizations
304
- visualizations = []
305
-
306
- fig_salary = px.box(st.session_state.df, x="job_title", y="salary_in_usd",
307
- title="Salary Distribution by Job Title")
308
- visualizations.append(fig_salary)
309
-
310
- fig_experience = px.bar(
311
- st.session_state.df.groupby("experience_level")["salary_in_usd"].mean().reset_index(),
312
- x="experience_level", y="salary_in_usd",
313
- title="Average Salary by Experience Level"
314
- )
315
- visualizations.append(fig_experience)
316
-
317
- fig_employment = px.box(st.session_state.df, x="employment_type", y="salary_in_usd",
318
- title="Salary Distribution by Employment Type")
319
- visualizations.append(fig_employment)
320
 
321
  # Step 5: Insert Visual Insights
322
  st.markdown("### Visual Insights")
 
301
  st.markdown(report_result if report_result else "⚠️ No Report Generated.")
302
 
303
  # Step 4: Generate Visualizations
304
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
 
306
  # Step 5: Insert Visual Insights
307
  st.markdown("### Visual Insights")