Multichem commited on
Commit
955ea4f
·
verified ·
1 Parent(s): 92cd2e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -406,16 +406,16 @@ with tab6:
406
  total_sims = 1000
407
 
408
  df.replace("", 0, inplace=True)
409
-
410
- if prop == "pass_yards":
411
  df['Median'] = df['pass_yards']
412
- elif prop == "rush_yards":
413
  df['Median'] = df['rush_yards']
414
- elif prop == "rec_yards":
415
  df['Median'] = df['rec_yards']
416
- elif prop == "receptions":
417
  df['Median'] = df['rec']
418
- elif prop == "rush_attempts":
419
  df['Median'] = df['rush_att']
420
 
421
  flex_file = df
 
406
  total_sims = 1000
407
 
408
  df.replace("", 0, inplace=True)
409
+
410
+ if prop == "NFL_GAME_PLAYER_PASSING_YARDS":
411
  df['Median'] = df['pass_yards']
412
+ elif prop == "NFL_GAME_PLAYER_RUSHING_YARDS":
413
  df['Median'] = df['rush_yards']
414
+ elif prop == "NFL_GAME_PLAYER_RECEIVING_YARDS":
415
  df['Median'] = df['rec_yards']
416
+ elif prop == "NFL_GAME_PLAYER_RECEIVING_RECEPTIONS":
417
  df['Median'] = df['rec']
418
+ elif prop == "NFL_GAME_PLAYER_RUSHING_ATTEMPTS":
419
  df['Median'] = df['rush_att']
420
 
421
  flex_file = df