Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ with tab3:
|
|
135 |
team_var5 = st.multiselect('Which teams would you like to include in the tables?', options = player_stats['Team'].unique(), key='team_var5')
|
136 |
elif split_var5 == 'All':
|
137 |
team_var5 = player_stats.Team.values.tolist()
|
138 |
-
prop_type_var2 = st.
|
139 |
prop_frame = prop_frame[prop_frame['Team'].isin(team_var5)]
|
140 |
prop_frame = prop_frame[prop_frame['prop_type'].isin(prop_type_var2)]
|
141 |
prop_frame_disp = prop_frame.set_index('Player')
|
|
|
135 |
team_var5 = st.multiselect('Which teams would you like to include in the tables?', options = player_stats['Team'].unique(), key='team_var5')
|
136 |
elif split_var5 == 'All':
|
137 |
team_var5 = player_stats.Team.values.tolist()
|
138 |
+
prop_type_var2 = st.multiselect('Select type of prop are you wanting to view', options = prop_table_options, default = prop_table_options)
|
139 |
prop_frame = prop_frame[prop_frame['Team'].isin(team_var5)]
|
140 |
prop_frame = prop_frame[prop_frame['prop_type'].isin(prop_type_var2)]
|
141 |
prop_frame_disp = prop_frame.set_index('Player')
|