Spaces:
Sleeping
Sleeping
Update appStore/vulnerability_analysis.py
Browse files
appStore/vulnerability_analysis.py
CHANGED
@@ -142,7 +142,8 @@ def vulnerability_display():
|
|
142 |
# Exclude the "Other" group and all groups that do not have a label
|
143 |
df_bar_chart = df_label_count[df_label_count['Label'] != 'Other']
|
144 |
st.write(df_bar_chart)
|
145 |
-
df_bar_chart = df_bar_chart[
|
|
|
146 |
|
147 |
# Bar chart
|
148 |
fig = go.Figure()
|
|
|
142 |
# Exclude the "Other" group and all groups that do not have a label
|
143 |
df_bar_chart = df_label_count[df_label_count['Label'] != 'Other']
|
144 |
st.write(df_bar_chart)
|
145 |
+
df_bar_chart = df_bar_chart.dropna(subset=['Count'])
|
146 |
+
|
147 |
|
148 |
# Bar chart
|
149 |
fig = go.Figure()
|