Jan Mühlnikel commited on
Commit
2257847
1 Parent(s): 22386e0

similarity first col

Browse files
Files changed (1) hide show
  1. modules/result_table.py +2 -2
modules/result_table.py CHANGED
@@ -7,7 +7,7 @@ def show_table(p1_df, p2_df):
7
  st.write("------------------")
8
 
9
  st.dataframe(
10
- p1_df[["iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country", "sgd_pred_code", "crs_3_code", "crs_5_code", "similarity"]],
11
  use_container_width = True,
12
  height = 35 + 35 * len(p1_df),
13
  column_config={
@@ -69,7 +69,7 @@ def show_table(p1_df, p2_df):
69
  st.write("------------------")
70
 
71
  st.dataframe(
72
- p2_df[["iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country", "sgd_pred_code", "crs_3_code", "crs_5_code", "similarity"]],
73
  use_container_width = True,
74
  height = 35 + 35 * len(p2_df),
75
  column_config={
 
7
  st.write("------------------")
8
 
9
  st.dataframe(
10
+ p1_df[["similarity", "iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country", "sgd_pred_code", "crs_3_code", "crs_5_code"]],
11
  use_container_width = True,
12
  height = 35 + 35 * len(p1_df),
13
  column_config={
 
69
  st.write("------------------")
70
 
71
  st.dataframe(
72
+ p2_df[["similarity", "iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country", "sgd_pred_code", "crs_3_code", "crs_5_code"]],
73
  use_container_width = True,
74
  height = 35 + 35 * len(p2_df),
75
  column_config={