James McCool commited on
Commit
b4512a0
·
1 Parent(s): 1f0343f

set index to player

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -217,8 +217,8 @@ with tab1:
217
  if view_var2 == 'Advanced':
218
  display_proj = display_proj
219
  elif view_var2 == 'Simple':
220
- display_proj = display_proj[['Player', 'Team', 'Position', 'Minutes Proj', 'Floor', 'Median', 'Ceiling', 'LevX', 'ValX']]
221
-
222
  st.session_state.display_proj = display_proj
223
 
224
  with display_container_1:
 
217
  if view_var2 == 'Advanced':
218
  display_proj = display_proj
219
  elif view_var2 == 'Simple':
220
+ display_proj = display_proj[['Player', 'Team', 'Position', 'Floor', 'Median', 'Ceiling', 'GPP%', 'ValX']]
221
+ display_proj = display_proj.set_index('Player')
222
  st.session_state.display_proj = display_proj
223
 
224
  with display_container_1: