Spaces:
Sleeping
Sleeping
Update appStore/vulnerability_analysis.py
Browse files
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 |
|