James McCool commited on
Commit
2338b1b
·
1 Parent(s): fb9a054

I'm not sure if this wrosk, added brackets around site_var2

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ with tab1:
168
  raw_baselines = site_baselines[site_baselines['slate'] == 'Secondary Slate']
169
  elif slate_split == 'Backlog':
170
  raw_baselines = roo_backlog
171
- raw_baselines = raw_baselines[site_baselines['site'] == site_var2]
172
  split_var2 = st.radio("Are you running the full slate or certain games?", ('Full Slate Run', 'Specific Games'), key='split_var2')
173
  if split_var2 == 'Specific Games':
174
  team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2')
 
168
  raw_baselines = site_baselines[site_baselines['slate'] == 'Secondary Slate']
169
  elif slate_split == 'Backlog':
170
  raw_baselines = roo_backlog
171
+ raw_baselines = raw_baselines[site_baselines['site'] == [site_var2]]
172
  split_var2 = st.radio("Are you running the full slate or certain games?", ('Full Slate Run', 'Specific Games'), key='split_var2')
173
  if split_var2 == 'Specific Games':
174
  team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2')