Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -428,7 +428,7 @@ with tab2:
|
|
| 428 |
if split_var1 == 'Season Logs':
|
| 429 |
choose_cols = st.container()
|
| 430 |
with choose_cols:
|
| 431 |
-
choose_disp = st.multiselect('Which stats would you like to view?', options =
|
| 432 |
disp_stats = basic_season_cols + choose_disp
|
| 433 |
display = st.container()
|
| 434 |
working_data = working_data[working_data['Date'] >= low_date]
|
|
@@ -449,7 +449,7 @@ with tab2:
|
|
| 449 |
elif split_var1 == 'Gamelogs':
|
| 450 |
choose_cols = st.container()
|
| 451 |
with choose_cols:
|
| 452 |
-
choose_disp_gamelog = st.multiselect('Which stats would you like to view?', options =
|
| 453 |
gamelog_disp_stats = basic_cols + choose_disp_gamelog
|
| 454 |
working_data = working_data[working_data['Date'] >= low_date]
|
| 455 |
working_data = working_data[working_data['Date'] <= high_date]
|
|
|
|
| 428 |
if split_var1 == 'Season Logs':
|
| 429 |
choose_cols = st.container()
|
| 430 |
with choose_cols:
|
| 431 |
+
choose_disp = st.multiselect('Which stats would you like to view?', options = season_pitcher_data_cols, default = season_pitcher_data_cols, key='sp_col_display')
|
| 432 |
disp_stats = basic_season_cols + choose_disp
|
| 433 |
display = st.container()
|
| 434 |
working_data = working_data[working_data['Date'] >= low_date]
|
|
|
|
| 449 |
elif split_var1 == 'Gamelogs':
|
| 450 |
choose_cols = st.container()
|
| 451 |
with choose_cols:
|
| 452 |
+
choose_disp_gamelog = st.multiselect('Which stats would you like to view?', options = pitcher_data_cols, default = pitcher_data_cols, key='sp_choose_disp_gamelog')
|
| 453 |
gamelog_disp_stats = basic_cols + choose_disp_gamelog
|
| 454 |
working_data = working_data[working_data['Date'] >= low_date]
|
| 455 |
working_data = working_data[working_data['Date'] <= high_date]
|