James McCool commited on
Commit
9d43ef5
·
1 Parent(s): 9d8fd9d

Refined Bet Sheet by excluding 'NBA_GAME_PLAYER_STEALS' and 'NBA_GAME_PLAYER_BLOCKS' prop types to enhance data relevance and clarity.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -0
src/streamlit_app.py CHANGED
@@ -161,6 +161,8 @@ def init_baselines():
161
  raw_display = raw_display.reset_index(drop=True)
162
  raw_display['O/U'] = np.where(raw_display['No Vig'] > raw_display['Projection'], 'Under', 'Over')
163
  bet_sheet = raw_display[['Player', 'prop_type', 'O/U', 'No Vig', 'Projection', 'Edge']]
 
 
164
 
165
  collection = db["Pick6_Trends"]
166
  cursor = collection.find()
 
161
  raw_display = raw_display.reset_index(drop=True)
162
  raw_display['O/U'] = np.where(raw_display['No Vig'] > raw_display['Projection'], 'Under', 'Over')
163
  bet_sheet = raw_display[['Player', 'prop_type', 'O/U', 'No Vig', 'Projection', 'Edge']]
164
+ bet_sheet = bet_sheet[bet_sheet['prop_type'] != 'NBA_GAME_PLAYER_STEALS']
165
+ bet_sheet = bet_sheet[bet_sheet['prop_type'] != 'NBA_GAME_PLAYER_BLOCKS']
166
 
167
  collection = db["Pick6_Trends"]
168
  cursor = collection.find()