nesticot commited on
Commit
a7074de
·
verified ·
1 Parent(s): a7edbb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )