Update rolling_batter_functions.py
Browse files
rolling_batter_functions.py
CHANGED
|
@@ -88,7 +88,7 @@ def rolling_plot(df,df_summ,player_id,stat_id,batter_dict,window_select,level_id
|
|
| 88 |
fig.text(s='Please Select a Pitcher',x=0.5,y=0.5)
|
| 89 |
return
|
| 90 |
|
| 91 |
-
|
| 92 |
|
| 93 |
|
| 94 |
|
|
|
|
| 88 |
fig.text(s='Please Select a Pitcher',x=0.5,y=0.5)
|
| 89 |
return
|
| 90 |
|
| 91 |
+
df = df.copy.sort_values(by='start_time')
|
| 92 |
|
| 93 |
|
| 94 |
|