Update app.py
Browse files
app.py
CHANGED
|
@@ -180,20 +180,6 @@ def server(input, output, session):
|
|
| 180 |
|
| 181 |
print(year_input, sport_id, player_input, start_date, end_date)
|
| 182 |
|
| 183 |
-
|
| 184 |
-
# game_list = scrape.get_player_games_list(sport_id = sport_id,
|
| 185 |
-
# season = year_input,
|
| 186 |
-
# player_id = player_input,
|
| 187 |
-
# start_date = start_date,
|
| 188 |
-
# end_date = end_date)
|
| 189 |
-
|
| 190 |
-
# data_list = scrape.get_data(game_list_input = game_list[:])
|
| 191 |
-
# df = stuff_apply.stuff_apply(fe.feature_engineering(update.update(scrape.get_data_df(data_list = data_list).filter(
|
| 192 |
-
# (pl.col("pitcher_id") == player_input)&
|
| 193 |
-
# (pl.col("is_pitch") == True))))).with_columns(
|
| 194 |
-
# pl.col('pitch_type').count().over('pitch_type').alias('pitch_count')
|
| 195 |
-
# )
|
| 196 |
-
|
| 197 |
df = cached_data()
|
| 198 |
df = df.clone()
|
| 199 |
|
|
|
|
| 180 |
|
| 181 |
print(year_input, sport_id, player_input, start_date, end_date)
|
| 182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
df = cached_data()
|
| 184 |
df = df.clone()
|
| 185 |
|