georad commited on
Commit
e400c34
·
verified ·
1 Parent(s): 9aee55b

Update pages/chapter_index.py

Browse files
Files changed (1) hide show
  1. pages/chapter_index.py +1 -1
pages/chapter_index.py CHANGED
@@ -7,7 +7,7 @@ for k, v in st.session_state.items():
7
  st.title("📘Map internal description to SBS codes V2.0")
8
  st.subheader("Select specific Chapter for quicker results")
9
  st.subheader("Demo currently limited to Chapter 20: Imaging services; (Work in progress)")
10
- df_chapters = pd.read_csv("SBS/SBS_V2_Chapter_Index_Rows.csv")
11
  #df_chapters['range_of_rows'] = df.apply(lambda row: list(range(row.min(), row.max()+1)), axis=1)
12
  df_chapters['range_of_rows'] = df_chapters.apply(lambda row: list(range(row[['from_row_index', 'to_row_index']])), axis=1)
13
  #df_startrow = df_chapters["from_row_index"].astype(int) # convert Pandas series_object to integer
 
7
  st.title("📘Map internal description to SBS codes V2.0")
8
  st.subheader("Select specific Chapter for quicker results")
9
  st.subheader("Demo currently limited to Chapter 20: Imaging services; (Work in progress)")
10
+ df_chapters = pd.read_csv("SBS_V2_0/Chapter_Index_Rows.csv")
11
  #df_chapters['range_of_rows'] = df.apply(lambda row: list(range(row.min(), row.max()+1)), axis=1)
12
  df_chapters['range_of_rows'] = df_chapters.apply(lambda row: list(range(row[['from_row_index', 'to_row_index']])), axis=1)
13
  #df_startrow = df_chapters["from_row_index"].astype(int) # convert Pandas series_object to integer