ppsingh commited on
Commit
2ca10ed
1 Parent(s): 5d9b393

tracs target filtering

Browse files
Files changed (1) hide show
  1. appStore/target.py +2 -2
appStore/target.py CHANGED
@@ -33,7 +33,7 @@ _lab_dict = {
33
  'TARGET':'TARGET',
34
  }
35
 
36
- @st.cache_data
37
  def to_excel(df):
38
  # df['Target Validation'] = 'No'
39
  # df['Netzero Validation'] = 'No'
@@ -332,7 +332,7 @@ def filter_dataframe(df: pd.DataFrame) -> pd.DataFrame:
332
  hide_index=True,
333
  )
334
  st.write("updating target hits....")
335
- st.write(len(df))
336
  st.session_state['target_hits'] = df
337
 
338
  return
 
33
  'TARGET':'TARGET',
34
  }
35
 
36
+ # @st.cache_data
37
  def to_excel(df):
38
  # df['Target Validation'] = 'No'
39
  # df['Netzero Validation'] = 'No'
 
332
  hide_index=True,
333
  )
334
  st.write("updating target hits....")
335
+ st.write(len(df[df.keep == True]))
336
  st.session_state['target_hits'] = df
337
 
338
  return