nesticot commited on
Commit
ab9e3e9
1 Parent(s): 3cf77a4

Update pitch_summary_functions.py

Browse files
Files changed (1) hide show
  1. pitch_summary_functions.py +2 -1
pitch_summary_functions.py CHANGED
@@ -242,8 +242,9 @@ def df_clean(df):
242
  #df_copy = df_copy[~df_copy.pitch_type.isin(["EP", "PO", "KN", "CS", "SC", "FA"])].reset_index(drop=True)
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
- #'KC':'CU',
247
  'SV':'SL',
248
  'FO':'FS'})
249
 
 
242
  #df_copy = df_copy[~df_copy.pitch_type.isin(["EP", "PO", "KN", "CS", "SC", "FA"])].reset_index(drop=True)
243
  #df_copy = df_copy[~df_copy.pitch_type.isin(["EP", "PO", "CS", "SC", "FA"])].reset_index(drop=True)
244
 
245
+
246
  df_copy['pitch_type'] = df_copy['pitch_type'].replace({'FT':'SI',
247
+ 'FA':'FF',
248
  'SV':'SL',
249
  'FO':'FS'})
250