nesticot commited on
Commit
b95a0c8
·
verified ·
1 Parent(s): c8c34a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -561,7 +561,7 @@ def server(input, output, session):
561
  (pl.col("start_speed") >= 50)&
562
  (pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
563
 
564
- )[:29]))).with_columns(
565
  pl.col('pitch_type').count().over('pitch_type').alias('pitch_count')
566
  ))
567
 
@@ -753,7 +753,7 @@ def server(input, output, session):
753
  (pl.col("is_pitch") == True) &
754
  (pl.col("start_speed") >= 50) &
755
  (pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
756
- )[:29]
757
  )
758
  )
759
  )).with_columns(
 
561
  (pl.col("start_speed") >= 50)&
562
  (pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
563
 
564
+ )[:]))).with_columns(
565
  pl.col('pitch_type').count().over('pitch_type').alias('pitch_count')
566
  ))
567
 
 
753
  (pl.col("is_pitch") == True) &
754
  (pl.col("start_speed") >= 50) &
755
  (pl.col('batter_hand').is_in(split_dict_hand[input.split_id()]))
756
+ )[:]
757
  )
758
  )
759
  )).with_columns(