Multichem commited on
Commit
741f05b
·
1 Parent(s): 11f977f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ with tab1:
89
  if split_var1 == 'Specific Teams':
90
  team_var1 = st.multiselect('Which teams would you like to include in the tables?', options = game_model['Team'].unique(), key='team_var1')
91
  elif split_var1 == 'All':
92
- team_var1 = game_model.TC.values.tolist()
93
  game_model = game_model[game_model['Team'].isin(team_var1)]
94
  game_display = game_model.set_index('Team Date')
95
  st.dataframe(game_display.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
 
89
  if split_var1 == 'Specific Teams':
90
  team_var1 = st.multiselect('Which teams would you like to include in the tables?', options = game_model['Team'].unique(), key='team_var1')
91
  elif split_var1 == 'All':
92
+ team_var1 = game_model.Team.values.tolist()
93
  game_model = game_model[game_model['Team'].isin(team_var1)]
94
  game_display = game_model.set_index('Team Date')
95
  st.dataframe(game_display.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)