Samkeet-Blend360 commited on
Commit
3119345
·
1 Parent(s): ae88a56

Effectiveness Remove

Browse files
Files changed (1) hide show
  1. Model_Result_Overview.py +4 -1
Model_Result_Overview.py CHANGED
@@ -269,7 +269,10 @@ if auth_status:
269
  shares_df = sf.shares_df_func(start_date,end_date)
270
  shares_df1 = sf.shares_table_func(shares_df)
271
 
272
- st.dataframe(sf.shares_table_func(shares_df),use_container_width=True)
 
 
 
273
  shares_df2 = sf.eff_table_func(shares_df)
274
  # st.dataframe(sf.eff_table_func(shares_df).style.format({"TOTAL SPEND": "{:,.0f}", "TOTAL SUPPORT": "{:,.0f}", "TOTAL CONTRIBUTION": "{:,.0f}"}),use_container_width=True)
275
 
 
269
  shares_df = sf.shares_df_func(start_date,end_date)
270
  shares_df1 = sf.shares_table_func(shares_df)
271
 
272
+ if "Effectiveness" in shares_df1.index:
273
+ shares_df1 = shares_df1.drop(index="Effectiveness")
274
+
275
+ st.dataframe(shares_df1,use_container_width=True)
276
  shares_df2 = sf.eff_table_func(shares_df)
277
  # st.dataframe(sf.eff_table_func(shares_df).style.format({"TOTAL SPEND": "{:,.0f}", "TOTAL SUPPORT": "{:,.0f}", "TOTAL CONTRIBUTION": "{:,.0f}"}),use_container_width=True)
278