Multichem commited on
Commit
b5a6e37
·
1 Parent(s): d0976ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -226,8 +226,7 @@ with tab1:
226
  with col2:
227
  if split_var1 == 'Season Logs':
228
  choose_cols = st.container()
229
- with choose_cols:
230
- col_display = st.multiselect('Which stats would you like to view?', options = data_cols, default = data_cols, key='col_display')
231
  display = st.container()
232
  gamelog_table = gamelog_table[gamelog_table['Date'] >= low_date]
233
  gamelog_table = gamelog_table[gamelog_table['Date'] <= high_date]
@@ -241,8 +240,7 @@ with tab1:
241
 
242
  elif split_var1 == 'Gamelogs':
243
  choose_cols = st.container()
244
- with choose_cols:
245
- col_display = st.multiselect('Which stats would you like to view?', options = data_cols, default = data_cols, key='col_display')
246
  gamelog_table = gamelog_table[gamelog_table['Date'] >= low_date]
247
  gamelog_table = gamelog_table[gamelog_table['Date'] <= high_date]
248
  gamelog_table = gamelog_table[gamelog_table['TOI'] >= min_var1[0]]
 
226
  with col2:
227
  if split_var1 == 'Season Logs':
228
  choose_cols = st.container()
229
+ choose_cols.multiselect('Which stats would you like to view?', options = data_cols, key='col_display')
 
230
  display = st.container()
231
  gamelog_table = gamelog_table[gamelog_table['Date'] >= low_date]
232
  gamelog_table = gamelog_table[gamelog_table['Date'] <= high_date]
 
240
 
241
  elif split_var1 == 'Gamelogs':
242
  choose_cols = st.container()
243
+ choose_cols.multiselect('Which stats would you like to view?', options = data_cols, key='col_display')
 
244
  gamelog_table = gamelog_table[gamelog_table['Date'] >= low_date]
245
  gamelog_table = gamelog_table[gamelog_table['Date'] <= high_date]
246
  gamelog_table = gamelog_table[gamelog_table['TOI'] >= min_var1[0]]