Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def SP_Slate_Stats_load():
|
|
88 |
pitcher_stats = pd.DataFrame(worksheet.get_all_records())
|
89 |
pitcher_stats.apply(pd.to_numeric, errors='ignore')
|
90 |
pitcher_stats = pitcher_stats.loc[pitcher_stats['Playing'] == 1]
|
91 |
-
pitcher_stats = pitcher_stats.drop(columns=['
|
92 |
pitcher_stats = pitcher_stats.sort_values(by='True AVG', ascending=True)
|
93 |
|
94 |
return pitcher_stats
|
|
|
88 |
pitcher_stats = pd.DataFrame(worksheet.get_all_records())
|
89 |
pitcher_stats.apply(pd.to_numeric, errors='ignore')
|
90 |
pitcher_stats = pitcher_stats.loc[pitcher_stats['Playing'] == 1]
|
91 |
+
pitcher_stats = pitcher_stats.drop(columns=['Playing'])
|
92 |
pitcher_stats = pitcher_stats.sort_values(by='True AVG', ascending=True)
|
93 |
|
94 |
return pitcher_stats
|