Multichem commited on
Commit
97bfc45
1 Parent(s): bec6bfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -433,6 +433,11 @@ with tab5:
433
  final_outcomes = sim_all_hold
434
 
435
  elif prop_type_var != 'All Props':
 
 
 
 
 
436
  if prop_type_var == "points":
437
  prop_df = prop_frame[['Player', 'over_prop', 'over_line', 'under_line', 'prop_type']]
438
  prop_df = prop_df.loc[prop_df['prop_type'] == 'points']
 
433
  final_outcomes = sim_all_hold
434
 
435
  elif prop_type_var != 'All Props':
436
+ if game_select_var == 'Props':
437
+ prop_df = prop_frame[['Player', 'over_prop', 'over_line', 'under_line', 'prop_type']]
438
+ if game_select_var == 'Pick6':
439
+ prop_df = pick_frame[['Full_name', 'over_prop', 'over_line', 'under_line', 'prop_type']]
440
+ prop_df.rename(columns={"Full_name": "Player"}, inplace = True)
441
  if prop_type_var == "points":
442
  prop_df = prop_frame[['Player', 'over_prop', 'over_line', 'under_line', 'prop_type']]
443
  prop_df = prop_df.loc[prop_df['prop_type'] == 'points']