Update app.py
Browse files
app.py
CHANGED
|
@@ -643,8 +643,8 @@ def server(input, output, session):
|
|
| 643 |
)
|
| 644 |
|
| 645 |
# Step 4: Split last game vs all previous
|
| 646 |
-
|
| 647 |
-
|
| 648 |
|
| 649 |
# # Step 5: Apply feature engineering to both
|
| 650 |
# df_last_group = stuff_apply.stuff_apply(fe.feature_engineering(df_last_game))
|
|
|
|
| 643 |
)
|
| 644 |
|
| 645 |
# Step 4: Split last game vs all previous
|
| 646 |
+
df_last_group = df_spring_stuff.filter(pl.col("is_last_game"))
|
| 647 |
+
df_prior_group = df_spring_stuff.filter(~pl.col("is_last_game"))
|
| 648 |
|
| 649 |
# # Step 5: Apply feature engineering to both
|
| 650 |
# df_last_group = stuff_apply.stuff_apply(fe.feature_engineering(df_last_game))
|