James McCool
commited on
Commit
·
3597da4
1
Parent(s):
d91cbaa
Add debug output for player columns in app.py
Browse files- Included a print statement to display the player columns stored in session state, enhancing visibility for debugging purposes.
- This change aids in tracking the relevant columns being processed, ensuring accurate data handling during runtime.
app.py
CHANGED
|
@@ -151,6 +151,7 @@ with tab2:
|
|
| 151 |
excluded_cols = ['BaseName', 'EntryCount']
|
| 152 |
if 'Contest' in st.session_state and 'display_contest_info' not in st.session_state:
|
| 153 |
st.session_state['player_columns'] = [col for col in st.session_state['Contest'].columns if col not in excluded_cols]
|
|
|
|
| 154 |
for col in st.session_state['player_columns']:
|
| 155 |
st.session_state['Contest'][col] = st.session_state['Contest'][col].astype(str)
|
| 156 |
|
|
|
|
| 151 |
excluded_cols = ['BaseName', 'EntryCount']
|
| 152 |
if 'Contest' in st.session_state and 'display_contest_info' not in st.session_state:
|
| 153 |
st.session_state['player_columns'] = [col for col in st.session_state['Contest'].columns if col not in excluded_cols]
|
| 154 |
+
print(st.session_state['player_columns'])
|
| 155 |
for col in st.session_state['player_columns']:
|
| 156 |
st.session_state['Contest'][col] = st.session_state['Contest'][col].astype(str)
|
| 157 |
|