Spaces:
Running
Running
Update pitch_summary_functions.py
Browse files
pitch_summary_functions.py
CHANGED
@@ -243,7 +243,7 @@ def df_clean(df):
|
|
243 |
#df_copy = df_copy[~df_copy.pitch_type.isin(["EP", "PO", "CS", "SC", "FA"])].reset_index(drop=True)
|
244 |
|
245 |
df_copy['pitch_type'] = df_copy['pitch_type'].replace({'FT':'SI',
|
246 |
-
|
247 |
'SV':'SL',
|
248 |
'FO':'FS'})
|
249 |
|
|
|
243 |
#df_copy = df_copy[~df_copy.pitch_type.isin(["EP", "PO", "CS", "SC", "FA"])].reset_index(drop=True)
|
244 |
|
245 |
df_copy['pitch_type'] = df_copy['pitch_type'].replace({'FT':'SI',
|
246 |
+
'FA':'FF',
|
247 |
'SV':'SL',
|
248 |
'FO':'FS'})
|
249 |
|