James McCool commited on
Commit
9c02fea
·
1 Parent(s): 7107abb

Refactor overall simulation data handling in app.py. Removed the setting of 'Player' as the index in overall_sim_df to simplify data structure. This change enhances the clarity and usability of the simulation results by maintaining a more straightforward DataFrame format.

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -425,7 +425,6 @@ if st.button("Run"):
425
  })
426
 
427
  overall_sim_df = pd.DataFrame(overall_sim_results).drop_duplicates(subset = ['Player', 'Position', 'Stat'])
428
- overall_sim_df = overall_sim_df.set_index(['Player'])
429
 
430
  tab1, tab2 = st.tabs(["Team Data", "Opponent Data"])
431
  with tab1:
 
425
  })
426
 
427
  overall_sim_df = pd.DataFrame(overall_sim_results).drop_duplicates(subset = ['Player', 'Position', 'Stat'])
 
428
 
429
  tab1, tab2 = st.tabs(["Team Data", "Opponent Data"])
430
  with tab1: