James McCool
commited on
Commit
·
a28c651
1
Parent(s):
22d35ca
Add display of working dataframe in app.py to enhance user visibility
Browse files- Introduced a table display for the working dataframe after processing, allowing users to view the current state of data directly within the application.
- This update builds on previous enhancements by further improving the accessibility of contest information for users.
app.py
CHANGED
|
@@ -393,6 +393,7 @@ with tab2:
|
|
| 393 |
# Store results
|
| 394 |
st.session_state['field_player_frame'] = create_player_exposures(working_df, st.session_state['player_columns'])
|
| 395 |
st.session_state['field_stack_frame'] = create_stack_exposures(working_df)
|
|
|
|
| 396 |
st.session_state['display_contest_info'] = working_df.copy()
|
| 397 |
st.session_state['contest_info_reset'] = working_df.copy()
|
| 398 |
st.session_state['unique_players'] = pd.unique(st.session_state['display_contest_info'][st.session_state['player_columns']].values.ravel('K'))
|
|
|
|
| 393 |
# Store results
|
| 394 |
st.session_state['field_player_frame'] = create_player_exposures(working_df, st.session_state['player_columns'])
|
| 395 |
st.session_state['field_stack_frame'] = create_stack_exposures(working_df)
|
| 396 |
+
st.table(working_df)
|
| 397 |
st.session_state['display_contest_info'] = working_df.copy()
|
| 398 |
st.session_state['contest_info_reset'] = working_df.copy()
|
| 399 |
st.session_state['unique_players'] = pd.unique(st.session_state['display_contest_info'][st.session_state['player_columns']].values.ravel('K'))
|