Jan Mühlnikel commited on
Commit
63ba39b
1 Parent(s): 007c7ff

added selected project df

Browse files
modules/singlematch_result_table.py CHANGED
@@ -4,8 +4,8 @@ import pandas as pd
4
  def show_single_table(selected_project_index, projects_df, result_df):
5
 
6
 
7
- sel_p_row = projects_df.iloc[selected_project_index].T
8
-
9
  st.dataframe(
10
  sel_p_row[["iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country_name", "country_flag"]],
11
  use_container_width = True,
 
4
  def show_single_table(selected_project_index, projects_df, result_df):
5
 
6
 
7
+ sel_p_row = projects_df.iloc[[selected_project_index]]
8
+
9
  st.dataframe(
10
  sel_p_row[["iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country_name", "country_flag"]],
11
  use_container_width = True,