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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -226,7 +226,7 @@ with tab1:
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,7 +240,7 @@ with tab1:
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]]
 
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, default = 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, default = 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]]