Update appStore/tapp_display.py
Browse files- appStore/tapp_display.py +2 -2
appStore/tapp_display.py
CHANGED
@@ -65,11 +65,11 @@ def target_display():
|
|
65 |
sector_cols = list(set(cols) - {'TargetLabel','MitigationLabel','AdaptationLabel','GHGLabel','NetzeroLabel','NonGHGLabel'})
|
66 |
placeholder= []
|
67 |
for col in sector_cols:
|
68 |
-
placeholder.append({'Sector':col,'Count':sum(
|
69 |
sector_df = pd.DataFrame.from_dict(placeholder)
|
70 |
fig = px.bar(sector_df, x='Sector', y='Count')
|
71 |
st.plotly_chart(fig,use_container_width= True)
|
72 |
|
73 |
-
st.dataframe(
|
74 |
else:
|
75 |
st.info("🤔 No Targets Found")
|
|
|
65 |
sector_cols = list(set(cols) - {'TargetLabel','MitigationLabel','AdaptationLabel','GHGLabel','NetzeroLabel','NonGHGLabel'})
|
66 |
placeholder= []
|
67 |
for col in sector_cols:
|
68 |
+
placeholder.append({'Sector':col,'Count':sum(hits[col])})
|
69 |
sector_df = pd.DataFrame.from_dict(placeholder)
|
70 |
fig = px.bar(sector_df, x='Sector', y='Count')
|
71 |
st.plotly_chart(fig,use_container_width= True)
|
72 |
|
73 |
+
st.dataframe(hits])
|
74 |
else:
|
75 |
st.info("🤔 No Targets Found")
|