Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,6 +189,7 @@ def server(input, output, session):
|
|
| 189 |
df = (stuff_apply.stuff_apply(fe.feature_engineering(update.update(scrape.get_data_df(data_list = data_list).filter(
|
| 190 |
(pl.col("pitcher_id") == player_input)&
|
| 191 |
(pl.col("is_pitch") == True)&
|
|
|
|
| 192 |
(pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
|
| 193 |
|
| 194 |
)))).with_columns(
|
|
|
|
| 189 |
df = (stuff_apply.stuff_apply(fe.feature_engineering(update.update(scrape.get_data_df(data_list = data_list).filter(
|
| 190 |
(pl.col("pitcher_id") == player_input)&
|
| 191 |
(pl.col("is_pitch") == True)&
|
| 192 |
+
(pl.col("start_speed") >= 50)&
|
| 193 |
(pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
|
| 194 |
|
| 195 |
)))).with_columns(
|