James McCool
commited on
Commit
·
29e4551
1
Parent(s):
2c1be4a
Update app.py to reflect changes in name matching function output
Browse files- Modified the assignment of `projections_df` to also include `contest_df` from the `find_name_mismatches` function, enhancing data management.
- This change improves the handling of contest and projections data within the application.
app.py
CHANGED
@@ -77,7 +77,7 @@ with tab1:
|
|
77 |
st.session_state['projections_df']['salary'] = (st.session_state['projections_df']['salary'].astype(str).str.replace(',', '').astype(float).astype(int))
|
78 |
|
79 |
# Update projections_df with any new matches
|
80 |
-
st.session_state['projections_df'] = find_name_mismatches(st.session_state['Contest'], st.session_state['projections_df'])
|
81 |
|
82 |
with tab2:
|
83 |
if st.button('Clear data', key='reset3'):
|
|
|
77 |
st.session_state['projections_df']['salary'] = (st.session_state['projections_df']['salary'].astype(str).str.replace(',', '').astype(float).astype(int))
|
78 |
|
79 |
# Update projections_df with any new matches
|
80 |
+
st.session_state['contest_df'], st.session_state['projections_df'] = find_name_mismatches(st.session_state['Contest'], st.session_state['projections_df'])
|
81 |
|
82 |
with tab2:
|
83 |
if st.button('Clear data', key='reset3'):
|