Update functions/pitch_summary_functions.py
Browse files
functions/pitch_summary_functions.py
CHANGED
|
@@ -922,7 +922,7 @@ def fangraphs_pitching_leaderboards(season: int,
|
|
| 922 |
The DataFrame containing the pitching leaderboards data.
|
| 923 |
"""
|
| 924 |
|
| 925 |
-
if start_date == f'{season}-01-01' and end_date == f'{season}-12-31'
|
| 926 |
|
| 927 |
url = f"""
|
| 928 |
https://www.fangraphs.com/api/leaders/major-league/data?age=&pos=all&stats=pit&lg=all&season={season}&season1={season}
|
|
|
|
| 922 |
The DataFrame containing the pitching leaderboards data.
|
| 923 |
"""
|
| 924 |
|
| 925 |
+
if start_date == f'{season}-01-01' and end_date == f'{season}-12-31':
|
| 926 |
|
| 927 |
url = f"""
|
| 928 |
https://www.fangraphs.com/api/leaders/major-league/data?age=&pos=all&stats=pit&lg=all&season={season}&season1={season}
|