Update functions/pitch_summary_functions.py
Browse files
functions/pitch_summary_functions.py
CHANGED
|
@@ -1165,6 +1165,7 @@ def stat_summary_table(df: pl.DataFrame,
|
|
| 1165 |
title = f'{df["game_date"][0]} to {df["game_date"][-1]} ({type_dict[game_type[0]]}{split_title[split]})'
|
| 1166 |
else:
|
| 1167 |
fangraphs_table(df=df, ax=ax, player_input=player_input, season=int(df['game_date'][0][0:4]), split=split)
|
|
|
|
| 1168 |
return
|
| 1169 |
|
| 1170 |
# Create and format the table
|
|
|
|
| 1165 |
title = f'{df["game_date"][0]} to {df["game_date"][-1]} ({type_dict[game_type[0]]}{split_title[split]})'
|
| 1166 |
else:
|
| 1167 |
fangraphs_table(df=df, ax=ax, player_input=player_input, season=int(df['game_date'][0][0:4]), split=split)
|
| 1168 |
+
PRINT("SEASON LONG DATA")
|
| 1169 |
return
|
| 1170 |
|
| 1171 |
# Create and format the table
|