nesticot commited on
Commit
43ba480
·
verified ·
1 Parent(s): d166c96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1129,11 +1129,11 @@ def server(input, output, session):
1129
 
1130
  # Get the list of pitchers for the selected level and season
1131
  data_list = scrape.get_data(game_list)
1132
- df = (update.update(scrape.get_data_df(data_list = data_list).filter(
1133
  (pl.col("is_pitch") == True)&
1134
  (pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
1135
 
1136
- ))).with_columns(
1137
  pl.col('pitch_type').count().over('pitch_type').alias('pitch_count')
1138
  ).with_columns(
1139
  (pl.col('pitcher_name')+' - '+pl.col('pitcher_team')).alias('pitcher_name'))
 
1129
 
1130
  # Get the list of pitchers for the selected level and season
1131
  data_list = scrape.get_data(game_list)
1132
+ df = scrape.get_data_df(data_list = data_list).filter(
1133
  (pl.col("is_pitch") == True)&
1134
  (pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
1135
 
1136
+ ).with_columns(
1137
  pl.col('pitch_type').count().over('pitch_type').alias('pitch_count')
1138
  ).with_columns(
1139
  (pl.col('pitcher_name')+' - '+pl.col('pitcher_team')).alias('pitcher_name'))