Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -110,6 +110,11 @@ with tab2:
|
|
110 |
raw_baselines = roo_raw[roo_raw['Site'] == 'Draftkings']
|
111 |
elif site_var2 == 'Fanduel':
|
112 |
raw_baselines = roo_raw[roo_raw['Site'] == 'Fanduel']
|
|
|
|
|
|
|
|
|
|
|
113 |
split_var2 = st.radio("Are you running the full slate or crtain games?", ('Full Slate Run', 'Specific Games'), key='split_var2')
|
114 |
if split_var2 == 'Specific Games':
|
115 |
team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2')
|
@@ -167,6 +172,11 @@ with tab3:
|
|
167 |
raw_baselines = proj_dataframe
|
168 |
elif slate_var1 != 'User':
|
169 |
raw_baselines = fd_raw
|
|
|
|
|
|
|
|
|
|
|
170 |
split_var1 = st.radio("Are you running the full slate or crtain games?", ('Full Slate Run', 'Specific Games'), key='split_var1')
|
171 |
if split_var1 == 'Specific Games':
|
172 |
team_var1 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var1')
|
|
|
110 |
raw_baselines = roo_raw[roo_raw['Site'] == 'Draftkings']
|
111 |
elif site_var2 == 'Fanduel':
|
112 |
raw_baselines = roo_raw[roo_raw['Site'] == 'Fanduel']
|
113 |
+
slate_split = st.radio("Are you viewing the main slate or the secondary slate?", ('Main Slate', 'Secondary'), key='slate_split')
|
114 |
+
if slate_split == 'Main Slate':
|
115 |
+
raw_baselines = roo_raw[roo_raw['Slate'] == 'Main Slate']
|
116 |
+
elif slate_split == 'Secondary':
|
117 |
+
raw_baselines = roo_raw[roo_raw['Slate'] == 'Secondary']
|
118 |
split_var2 = st.radio("Are you running the full slate or crtain games?", ('Full Slate Run', 'Specific Games'), key='split_var2')
|
119 |
if split_var2 == 'Specific Games':
|
120 |
team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2')
|
|
|
172 |
raw_baselines = proj_dataframe
|
173 |
elif slate_var1 != 'User':
|
174 |
raw_baselines = fd_raw
|
175 |
+
slate_split2 = st.radio("Are you viewing the main slate or the secondary slate?", ('Main Slate', 'Secondary'), key='slate_split2')
|
176 |
+
if slate_split2 == 'Main Slate':
|
177 |
+
raw_baselines = roo_raw[roo_raw['Slate'] == 'Main Slate']
|
178 |
+
elif slate_split2 == 'Secondary':
|
179 |
+
raw_baselines = roo_raw[roo_raw['Slate'] == 'Secondary']
|
180 |
split_var1 = st.radio("Are you running the full slate or crtain games?", ('Full Slate Run', 'Specific Games'), key='split_var1')
|
181 |
if split_var1 == 'Specific Games':
|
182 |
team_var1 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var1')
|