Target done
Browse files- app.py +1 -1
- appStore/target.py +1 -0
app.py
CHANGED
@@ -57,7 +57,7 @@ with st.expander("ℹ️ - About this app", expanded=False):
|
|
57 |
- 'NON GHG TRANSPORT TARGET': target_labels_ghg_no = ['T_Adaptation_Unc',\
|
58 |
'T_Adaptation_C', 'T_Transport_O_Unc', 'T_Transport_O_C']
|
59 |
- 'OTHERS': Other Targets beside covered above.
|
60 |
-
- **Conditionality**:An “unconditional contribution” is what countries \
|
61 |
could implement without any conditions and based on their own \
|
62 |
resources and capabilities. A “conditional contribution” is one \
|
63 |
that countries would undertake if international means of support \
|
|
|
57 |
- 'NON GHG TRANSPORT TARGET': target_labels_ghg_no = ['T_Adaptation_Unc',\
|
58 |
'T_Adaptation_C', 'T_Transport_O_Unc', 'T_Transport_O_C']
|
59 |
- 'OTHERS': Other Targets beside covered above.
|
60 |
+
- **Conditionality**: An “unconditional contribution” is what countries \
|
61 |
could implement without any conditions and based on their own \
|
62 |
resources and capabilities. A “conditional contribution” is one \
|
63 |
that countries would undertake if international means of support \
|
appStore/target.py
CHANGED
@@ -47,6 +47,7 @@ def to_excel(df,hits):
|
|
47 |
if 'keep' in hits.columns:
|
48 |
hits = hits[hits.keep == True]
|
49 |
hits = hits.reset_index(drop=True)
|
|
|
50 |
# hits = hits.drop(columns = ['Target Score','Netzero Score','GHG Score'])
|
51 |
hits.to_excel(writer,index=False,sheet_name = 'Target')
|
52 |
workbook = writer.book
|
|
|
47 |
if 'keep' in hits.columns:
|
48 |
hits = hits[hits.keep == True]
|
49 |
hits = hits.reset_index(drop=True)
|
50 |
+
hits.drop(columns = ['keep'], inplace=True)
|
51 |
# hits = hits.drop(columns = ['Target Score','Netzero Score','GHG Score'])
|
52 |
hits.to_excel(writer,index=False,sheet_name = 'Target')
|
53 |
workbook = writer.book
|