James McCool commited on
Commit
5b4abea
1 Parent(s): 9a9892a

added ignore index on simall hold

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -516,7 +516,7 @@ with tab5:
516
  players_only['Team'] = players_only['Player'].map(team_dict)
517
 
518
  leg_outcomes = players_only[['Player', 'Team', 'Book', 'Prop Type', 'Prop', 'Mean_Outcome', 'Imp Over', 'Over%', 'Imp Under', 'Under%', 'Bet?', 'Edge']]
519
- sim_all_hold = pd.concat([sim_all_hold, leg_outcomes])
520
 
521
  final_outcomes = sim_all_hold
522
  st.write(f'finished {prop}')
@@ -655,7 +655,7 @@ with tab5:
655
  players_only['Team'] = players_only['Player'].map(team_dict)
656
 
657
  leg_outcomes = players_only[['Player', 'Team', 'Book', 'Prop Type', 'Prop', 'Mean_Outcome', 'Imp Over', 'Over%', 'Imp Under', 'Under%', 'Bet?', 'Edge']]
658
- sim_all_hold = pd.concat([sim_all_hold, leg_outcomes])
659
 
660
  final_outcomes = sim_all_hold
661
  st.write(f'finished {prop_type_var}')
 
516
  players_only['Team'] = players_only['Player'].map(team_dict)
517
 
518
  leg_outcomes = players_only[['Player', 'Team', 'Book', 'Prop Type', 'Prop', 'Mean_Outcome', 'Imp Over', 'Over%', 'Imp Under', 'Under%', 'Bet?', 'Edge']]
519
+ sim_all_hold = pd.concat([sim_all_hold, leg_outcomes], ignore_index=True)
520
 
521
  final_outcomes = sim_all_hold
522
  st.write(f'finished {prop}')
 
655
  players_only['Team'] = players_only['Player'].map(team_dict)
656
 
657
  leg_outcomes = players_only[['Player', 'Team', 'Book', 'Prop Type', 'Prop', 'Mean_Outcome', 'Imp Over', 'Over%', 'Imp Under', 'Under%', 'Bet?', 'Edge']]
658
+ sim_all_hold = pd.concat([sim_all_hold, leg_outcomes], ignore_index=True)
659
 
660
  final_outcomes = sim_all_hold
661
  st.write(f'finished {prop_type_var}')