leavoigt commited on
Commit
4ecb551
1 Parent(s): 71d49f5

Update appStore/vulnerability_analysis.py

Browse files
Files changed (1) hide show
  1. appStore/vulnerability_analysis.py +4 -0
appStore/vulnerability_analysis.py CHANGED
@@ -75,6 +75,10 @@ def app():
75
  # Filter the dataframe to only show the paragraphs with references
76
  df_filtered = df[df['Vulnerability Label'].apply(lambda x: len(x) > 0 and 'Other' not in x)]
77
 
 
 
 
 
78
  # Store df in session state with key1
79
  st.session_state.key1 = df_filtered
80
 
 
75
  # Filter the dataframe to only show the paragraphs with references
76
  df_filtered = df[df['Vulnerability Label'].apply(lambda x: len(x) > 0 and 'Other' not in x)]
77
 
78
+ # Rename column
79
+ df_filtered.rename(columns={'Vulnerability Label': 'Group identified'})
80
+
81
+
82
  # Store df in session state with key1
83
  st.session_state.key1 = df_filtered
84