Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -560,7 +560,7 @@ with tab1:
|
|
| 560 |
with tab2:
|
| 561 |
if 'Sim_Winner_Display' in st.session_state:
|
| 562 |
# Apply position mapping to FLEX column
|
| 563 |
-
flex_positions = st.session_state.Sim_Winner_Display['FLEX'].map(
|
| 564 |
|
| 565 |
# Count occurrences of each position in FLEX
|
| 566 |
flex_counts = flex_positions.value_counts()
|
|
|
|
| 560 |
with tab2:
|
| 561 |
if 'Sim_Winner_Display' in st.session_state:
|
| 562 |
# Apply position mapping to FLEX column
|
| 563 |
+
flex_positions = st.session_state.Sim_Winner_Display['FLEX'].map(maps_dict['Pos_map'])
|
| 564 |
|
| 565 |
# Count occurrences of each position in FLEX
|
| 566 |
flex_counts = flex_positions.value_counts()
|