James McCool commited on
Commit
6e5afb9
·
1 Parent(s): ceb4948

Add display of salary dictionary in app.py for improved user visibility

Browse files

- Introduced a table view of the salary dictionary to enhance the presentation of player salary data.
- Maintained existing functionality while improving the user interface for better data accessibility.

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -143,6 +143,8 @@ with tab1:
143
  st.session_state['salary_dict'] = dict(zip(st.session_state['salary_df']['Player'], st.session_state['salary_df']['Salary']))
144
  st.session_state['team_dict'] = dict(zip(st.session_state['team_df']['Player'], st.session_state['team_df']['Team']))
145
  st.session_state['pos_dict'] = dict(zip(st.session_state['pos_df']['Player'], st.session_state['pos_df']['Pos']))
 
 
146
 
147
  with tab2:
148
  excluded_cols = ['BaseName', 'EntryCount']
 
143
  st.session_state['salary_dict'] = dict(zip(st.session_state['salary_df']['Player'], st.session_state['salary_df']['Salary']))
144
  st.session_state['team_dict'] = dict(zip(st.session_state['team_df']['Player'], st.session_state['team_df']['Team']))
145
  st.session_state['pos_dict'] = dict(zip(st.session_state['pos_df']['Player'], st.session_state['pos_df']['Pos']))
146
+
147
+ st.table(st.session_state['salary_dict'])
148
 
149
  with tab2:
150
  excluded_cols = ['BaseName', 'EntryCount']