James McCool
commited on
Commit
·
5de7ed9
1
Parent(s):
21ba9dc
Add debug output for salary dictionary and contest file helper in app.py
Browse files- Introduced a display of the salary dictionary and a table view for the contest file helper, enhancing user visibility of key data during the contest loading process.
- Maintained existing functionality while improving the user experience and debugging capabilities in the application.
app.py
CHANGED
|
@@ -114,6 +114,8 @@ with tab1:
|
|
| 114 |
st.session_state['salary_dict'] = dict(zip(st.session_state['salary_df']['Player'], st.session_state['salary_df']['Salary']))
|
| 115 |
st.session_state['team_dict'] = dict(zip(st.session_state['team_df']['Player'], st.session_state['team_df']['Team']))
|
| 116 |
st.session_state['pos_dict'] = dict(zip(st.session_state['pos_df']['Player'], st.session_state['pos_df']['Pos']))
|
|
|
|
|
|
|
| 117 |
|
| 118 |
with tab2:
|
| 119 |
excluded_cols = ['BaseName', 'EntryCount']
|
|
|
|
| 114 |
st.session_state['salary_dict'] = dict(zip(st.session_state['salary_df']['Player'], st.session_state['salary_df']['Salary']))
|
| 115 |
st.session_state['team_dict'] = dict(zip(st.session_state['team_df']['Player'], st.session_state['team_df']['Team']))
|
| 116 |
st.session_state['pos_dict'] = dict(zip(st.session_state['pos_df']['Player'], st.session_state['pos_df']['Pos']))
|
| 117 |
+
st.write(st.session_state['salary_dict'])
|
| 118 |
+
st.table(st.session_state['Contest_file_helper'])
|
| 119 |
|
| 120 |
with tab2:
|
| 121 |
excluded_cols = ['BaseName', 'EntryCount']
|