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