nesticot commited on
Commit
279a71d
·
verified ·
1 Parent(s): a299833

Update functions/pitch_summary_functions.py

Browse files
functions/pitch_summary_functions.py CHANGED
@@ -1046,6 +1046,7 @@ def fangraphs_table(df: pl.DataFrame,
1046
  end_date = df['game_date'][-1]
1047
 
1048
  # Fetch Fangraphs splits data
 
1049
  if split == 'all':
1050
  df_fangraphs = fangraphs_pitching_leaderboards(season=season,
1051
  split=split,
@@ -1165,7 +1166,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
- PRINT("SEASON LONG DATA")
1169
  return
1170
 
1171
  # Create and format the table
 
1046
  end_date = df['game_date'][-1]
1047
 
1048
  # Fetch Fangraphs splits data
1049
+ print("SPLIT",split)
1050
  if split == 'all':
1051
  df_fangraphs = fangraphs_pitching_leaderboards(season=season,
1052
  split=split,
 
1166
  title = f'{df["game_date"][0]} to {df["game_date"][-1]} ({type_dict[game_type[0]]}{split_title[split]})'
1167
  else:
1168
  fangraphs_table(df=df, ax=ax, player_input=player_input, season=int(df['game_date'][0][0:4]), split=split)
1169
+ print("SEASON LONG DATA")
1170
  return
1171
 
1172
  # Create and format the table