nesticot commited on
Commit
df85249
1 Parent(s): 8645606

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ df_2023_bip['h_la'] = df_2023_bip['h_la'].round(0)
70
 
71
  df_2023_bip['season'] = df_2023_bip['game_date'].str[0:4].astype(int)
72
 
73
- df_2023_bip = df_2023_bip[df_2023_bip['season'] == {season}]
74
  df_2022_bip = df_2023_bip[df_2023_bip['season'] == 2022]
75
 
76
  batter_dict = df_2023_bip.sort_values('batter_name').set_index('batter_id')['batter_name'].to_dict()
 
70
 
71
  df_2023_bip['season'] = df_2023_bip['game_date'].str[0:4].astype(int)
72
 
73
+ df_2023_bip = df_2023_bip[df_2023_bip['season'] == season]
74
  df_2022_bip = df_2023_bip[df_2023_bip['season'] == 2022]
75
 
76
  batter_dict = df_2023_bip.sort_values('batter_name').set_index('batter_id')['batter_name'].to_dict()