Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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]]
|