Update app.py
Browse files
app.py
CHANGED
@@ -629,7 +629,7 @@ def server(input, output, session):
|
|
629 |
.agg(pl.col("start_speed").count().alias("pitcher_total"))
|
630 |
.pivot(
|
631 |
values="pitcher_total",
|
632 |
-
index="pitcher_id",
|
633 |
columns="batter_hand",
|
634 |
aggregate_function="sum"
|
635 |
)
|
|
|
629 |
.agg(pl.col("start_speed").count().alias("pitcher_total"))
|
630 |
.pivot(
|
631 |
values="pitcher_total",
|
632 |
+
index=["pitcher_id",'game_id'],
|
633 |
columns="batter_hand",
|
634 |
aggregate_function="sum"
|
635 |
)
|