leavoigt commited on
Commit
4caba7c
1 Parent(s): 4a76f03

Update appStore/vulnerability_analysis.py

Browse files
Files changed (1) hide show
  1. appStore/vulnerability_analysis.py +1 -1
appStore/vulnerability_analysis.py CHANGED
@@ -129,7 +129,7 @@ def vulnerability_display():
129
  df_label_count = df_labels.merge(df_label_count, on='Label', how='left')
130
 
131
  # Exclude the "Other" group
132
- df_bar_chart = df[df['Label'] != 'Other']
133
 
134
  # Bar chart
135
  fig = px.bar(df_bar_chart,
 
129
  df_label_count = df_labels.merge(df_label_count, on='Label', how='left')
130
 
131
  # Exclude the "Other" group
132
+ df_bar_chart = df_label_count[df_label_count['Label'] != 'Other']
133
 
134
  # Bar chart
135
  fig = px.bar(df_bar_chart,