Update functions/pitch_summary_functions.py
Browse files
functions/pitch_summary_functions.py
CHANGED
|
@@ -1039,6 +1039,10 @@ def fangraphs_table(df: pl.DataFrame,
|
|
| 1039 |
start_date = start_date,
|
| 1040 |
end_date = end_date)
|
| 1041 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1042 |
|
| 1043 |
|
| 1044 |
else:
|
|
|
|
| 1039 |
start_date = start_date,
|
| 1040 |
end_date = end_date)
|
| 1041 |
|
| 1042 |
+
df_fangraphs = df_fangraphs.filter(pl.col('xMLBAMID') == player_input)
|
| 1043 |
+
|
| 1044 |
+
|
| 1045 |
+
|
| 1046 |
|
| 1047 |
|
| 1048 |
else:
|