Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,7 @@ def True_AVG_Splits_load():
|
|
64 |
pitcher_stats = pd.DataFrame(worksheet.get_all_records())
|
65 |
pitcher_stats.apply(pd.to_numeric, errors='ignore')
|
66 |
pitcher_stats = pitcher_stats.drop(columns=['HWSr (LHH)', 'HWSr (RHH)', 'HWSr (Overall)', 'Weighted HWSr',])
|
|
|
67 |
|
68 |
return pitcher_stats
|
69 |
|
|
|
64 |
pitcher_stats = pd.DataFrame(worksheet.get_all_records())
|
65 |
pitcher_stats.apply(pd.to_numeric, errors='ignore')
|
66 |
pitcher_stats = pitcher_stats.drop(columns=['HWSr (LHH)', 'HWSr (RHH)', 'HWSr (Overall)', 'Weighted HWSr',])
|
67 |
+
pitcher_stats = pitcher_stats.sort_values(by='Weighted True AVG', ascending=True)
|
68 |
|
69 |
return pitcher_stats
|
70 |
|