BraydenMoore commited on
Commit
d16c351
1 Parent(s): e794f00

Add pushes

Browse files
Source/Predict/__pycache__/predict.cpython-311.pyc CHANGED
Binary files a/Source/Predict/__pycache__/predict.cpython-311.pyc and b/Source/Predict/__pycache__/predict.cpython-311.pyc differ
 
Source/Predict/predict.py CHANGED
@@ -146,7 +146,7 @@ def predict(home,away,season,week,total):
146
 
147
  try:
148
  result = results.loc[results['game_id']==game_id, 'total'].item()
149
- over_under_result = 'Over' if float(result)>float(total) else 'Under'
150
  except:
151
  over_under_result = 'N/A'
152
 
 
146
 
147
  try:
148
  result = results.loc[results['game_id']==game_id, 'total'].item()
149
+ over_under_result = 'Over' if float(result)>float(total) else 'Push' if float(result)==float(total) else 'Under'
150
  except:
151
  over_under_result = 'N/A'
152