Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def server(input,output,session):
|
|
94 |
|
95 |
|
96 |
|
97 |
-
desired_categories = ["
|
98 |
|
99 |
traj_df = df_batter_2023.groupby(['traj'])['launch_speed'].count() / len(df_batter_2023)
|
100 |
trajectory_df = df_batter_2023.groupby(['trajectory'])['launch_speed'].count() / len(df_batter_2023)#.loc['Oppo']
|
|
|
94 |
|
95 |
|
96 |
|
97 |
+
desired_categories = ["fly_ball", "line_drive", "ground_ball", "popup"]
|
98 |
|
99 |
traj_df = df_batter_2023.groupby(['traj'])['launch_speed'].count() / len(df_batter_2023)
|
100 |
trajectory_df = df_batter_2023.groupby(['trajectory'])['launch_speed'].count() / len(df_batter_2023)#.loc['Oppo']
|