Spaces:
Running
Running
James McCool
commited on
Commit
·
6cfd079
1
Parent(s):
56a6051
sorted backlog view
Browse files
app.py
CHANGED
@@ -176,6 +176,7 @@ with tab1:
|
|
176 |
else:
|
177 |
date_var2 = st.date_input("Which date would you like to view?", key='date_var2')
|
178 |
raw_baselines = raw_baselines[raw_baselines['Date'] == date_var2.strftime('%m-%d-%Y')]
|
|
|
179 |
split_var2 = st.radio("Are you running the full slate or certain games?", ('Full Slate Run', 'Specific Games'), key='split_var2')
|
180 |
if split_var2 == 'Specific Games':
|
181 |
team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2')
|
|
|
176 |
else:
|
177 |
date_var2 = st.date_input("Which date would you like to view?", key='date_var2')
|
178 |
raw_baselines = raw_baselines[raw_baselines['Date'] == date_var2.strftime('%m-%d-%Y')]
|
179 |
+
raw_baselines = raw_baselines.sort_values(by='Median', ascending=False)
|
180 |
split_var2 = st.radio("Are you running the full slate or certain games?", ('Full Slate Run', 'Specific Games'), key='split_var2')
|
181 |
if split_var2 == 'Specific Games':
|
182 |
team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2')
|