James McCool commited on
Commit
c618f4d
·
1 Parent(s): 4f967b3

Update app.py to correct data assignment by replacing 'working_frame' with 'export_base' for parsed_frame. This change ensures accurate filtering based on duplication and salary criteria, enhancing data integrity in the export process.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1060,7 +1060,7 @@ with tab2:
1060
  st.session_state['export_merge'] = st.session_state['working_frame'].copy()
1061
  if exp_submitted:
1062
  st.session_state['settings_base'] = False
1063
- parsed_frame = st.session_state['working_frame'].copy()
1064
  parsed_frame = parsed_frame[parsed_frame['Dupes'] <= max_dupes]
1065
  parsed_frame = parsed_frame[parsed_frame['salary'] >= min_salary]
1066
  parsed_frame = parsed_frame[parsed_frame['salary'] <= max_salary]
 
1060
  st.session_state['export_merge'] = st.session_state['working_frame'].copy()
1061
  if exp_submitted:
1062
  st.session_state['settings_base'] = False
1063
+ parsed_frame = st.session_state['export_base'].copy()
1064
  parsed_frame = parsed_frame[parsed_frame['Dupes'] <= max_dupes]
1065
  parsed_frame = parsed_frame[parsed_frame['salary'] >= min_salary]
1066
  parsed_frame = parsed_frame[parsed_frame['salary'] <= max_salary]