James McCool
commited on
Commit
·
c196cbc
1
Parent(s):
4151add
Update excluded columns for contest analysis in app.py
Browse files- Expanded the list of excluded stack columns to include 'RB1', 'RB2', 'DST', and 'G', improving data filtering for contest analysis.
- This change enhances the accuracy of the displayed player columns by ensuring irrelevant data is excluded.
app.py
CHANGED
|
@@ -287,7 +287,7 @@ if selected_tab == 'Data Load':
|
|
| 287 |
st.session_state['pos_dict'] = st.session_state['info_maps']['position_dict']
|
| 288 |
|
| 289 |
excluded_cols = ['BaseName', 'EntryCount']
|
| 290 |
-
exclude_stacks = ['BaseName', 'EntryCount', 'SP', 'SP1', 'SP2', 'P1', 'P2']
|
| 291 |
if 'Contest' in st.session_state and 'display_contest_info' not in st.session_state:
|
| 292 |
st.session_state['player_columns'] = [col for col in st.session_state['Contest'].columns if col not in excluded_cols]
|
| 293 |
st.session_state['stack_columns'] = [col for col in st.session_state['Contest'].columns if col not in exclude_stacks]
|
|
|
|
| 287 |
st.session_state['pos_dict'] = st.session_state['info_maps']['position_dict']
|
| 288 |
|
| 289 |
excluded_cols = ['BaseName', 'EntryCount']
|
| 290 |
+
exclude_stacks = ['BaseName', 'EntryCount', 'SP', 'SP1', 'SP2', 'P1', 'P2', 'RB1', 'RB2', 'DST', 'G']
|
| 291 |
if 'Contest' in st.session_state and 'display_contest_info' not in st.session_state:
|
| 292 |
st.session_state['player_columns'] = [col for col in st.session_state['Contest'].columns if col not in excluded_cols]
|
| 293 |
st.session_state['stack_columns'] = [col for col in st.session_state['Contest'].columns if col not in exclude_stacks]
|