Multichem commited on
Commit
a6e4cf4
·
verified ·
1 Parent(s): 28795e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -523,9 +523,9 @@ with tab1:
523
  st.session_state.Sim_Winner_Display['salary'].max()
524
  ],
525
  'Proj': [
526
- st.session_state.Sim_Winner_Display['Proj'].min(),
527
- st.session_state.Sim_Winner_Display['Proj'].mean(),
528
- st.session_state.Sim_Winner_Display['Proj'].max()
529
  ],
530
  'Own': [
531
  st.session_state.Sim_Winner_Display['Own'].min(),
@@ -548,11 +548,11 @@ with tab1:
548
  st.subheader("Summary Statistics")
549
  st.dataframe(summary_df.style.format({
550
  'salary': '{:.2f}',
551
- 'Proj': '{:.2f}',
552
  'Own': '{:.2%}',
553
  'Fantasy': '{:.2f}',
554
  'GPP_Proj': '{:.2f}'
555
- }).background_gradient(cmap='RdYlGn', axis=0, subset=['salary', 'Proj', 'Own', 'Fantasy', 'GPP_Proj']), use_container_width=True)
556
  with st.container():
557
  tab1, tab2, tab3, tab4, tab5, tab6, tab7, tab8, tab9 = st.tabs(['Overall Exposures', 'QB Exposures', 'RB-WR-TE Exposures', 'RB Exposures', 'WR Exposures', 'TE Exposures', 'FLEX Exposures', 'DST Exposures', 'Team Exposures'])
558
  with tab1:
 
523
  st.session_state.Sim_Winner_Display['salary'].max()
524
  ],
525
  'Proj': [
526
+ st.session_state.Sim_Winner_Display['proj'].min(),
527
+ st.session_state.Sim_Winner_Display['proj'].mean(),
528
+ st.session_state.Sim_Winner_Display['proj'].max()
529
  ],
530
  'Own': [
531
  st.session_state.Sim_Winner_Display['Own'].min(),
 
548
  st.subheader("Summary Statistics")
549
  st.dataframe(summary_df.style.format({
550
  'salary': '{:.2f}',
551
+ 'proj': '{:.2f}',
552
  'Own': '{:.2%}',
553
  'Fantasy': '{:.2f}',
554
  'GPP_Proj': '{:.2f}'
555
+ }).background_gradient(cmap='RdYlGn', axis=0, subset=['salary', 'proj', 'Own', 'Fantasy', 'GPP_Proj']), use_container_width=True)
556
  with st.container():
557
  tab1, tab2, tab3, tab4, tab5, tab6, tab7, tab8, tab9 = st.tabs(['Overall Exposures', 'QB Exposures', 'RB-WR-TE Exposures', 'RB Exposures', 'WR Exposures', 'TE Exposures', 'FLEX Exposures', 'DST Exposures', 'Team Exposures'])
558
  with tab1: