Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -199,12 +199,12 @@ with tab2:
|
|
199 |
elif pos_split2 == 'All Positions':
|
200 |
pos_var2 = pos_list
|
201 |
if split_var2 == 'Specific Teams':
|
202 |
-
team_var2 = st.multiselect('Which teams would you like to include in the Table?', options =
|
203 |
elif split_var2 == 'All Teams':
|
204 |
-
team_var2 =
|
205 |
if stat_type_var2 == 'WR/TE Coverage Matchups':
|
206 |
slate_table_instance = wr_matchups
|
207 |
-
slate_table_instance = slate_table_instance.set_index('
|
208 |
elif stat_type_var1 == 'Nothing idk lol':
|
209 |
slate_table_instance = wr_matchups
|
210 |
|
|
|
199 |
elif pos_split2 == 'All Positions':
|
200 |
pos_var2 = pos_list
|
201 |
if split_var2 == 'Specific Teams':
|
202 |
+
team_var2 = st.multiselect('Which teams would you like to include in the Table?', options = wr_matchups['team'].unique())
|
203 |
elif split_var2 == 'All Teams':
|
204 |
+
team_var2 = wr_matchups['team'].unique().tolist()
|
205 |
if stat_type_var2 == 'WR/TE Coverage Matchups':
|
206 |
slate_table_instance = wr_matchups
|
207 |
+
slate_table_instance = slate_table_instance.set_index('name')
|
208 |
elif stat_type_var1 == 'Nothing idk lol':
|
209 |
slate_table_instance = wr_matchups
|
210 |
|