georad commited on
Commit
5ab21c0
·
verified ·
1 Parent(s): 33b655a

Update pages/chapter_index.py

Browse files
Files changed (1) hide show
  1. pages/chapter_index.py +3 -2
pages/chapter_index.py CHANGED
@@ -9,8 +9,9 @@ st.title("📘Map internal description to SBS codes V2.0")
9
  #st.header("Map internal descriptions to SBS codes V2.0")
10
  st.subheader("Select specific Chapter for quicker results")
11
  st.subheader("Demo currently limited to Chapter 20: Imaging services; (Work in progress)")
12
- df_chapters = pd.read_csv("SBS_V2_Chapter_Index.csv")
13
- df_chapters.iloc[25] = {"Chapter": 26, "Chapter title": "ALL CHAPTERS (will take more time)", "Blocks": "Total", "No. Codes": 10081}
 
14
 
15
  def dataframe_with_selections(df_chapters: pd.DataFrame, init_value: bool = False) -> pd.DataFrame:
16
  df_with_selections = df_chapters.copy()
 
9
  #st.header("Map internal descriptions to SBS codes V2.0")
10
  st.subheader("Select specific Chapter for quicker results")
11
  st.subheader("Demo currently limited to Chapter 20: Imaging services; (Work in progress)")
12
+ #df_chapters = pd.read_csv("SBS_V2_Chapter_Index.csv")
13
+ #df_chapters.iloc[25] = {"Chapter": 26, "Chapter title": "ALL CHAPTERS (will take more time)", "Blocks": "Total", "No. Codes": 10081}
14
+ df_chapters = pd.read_csv("SBS_V2_Chapter_Index_Rows.csv")
15
 
16
  def dataframe_with_selections(df_chapters: pd.DataFrame, init_value: bool = False) -> pd.DataFrame:
17
  df_with_selections = df_chapters.copy()