georad commited on
Commit
a6a214d
·
verified ·
1 Parent(s): fb99220

Update pages/chapter_index.py

Browse files
Files changed (1) hide show
  1. pages/chapter_index.py +1 -5
pages/chapter_index.py CHANGED
@@ -4,14 +4,10 @@ import pandas as pd
4
  for k, v in st.session_state.items():
5
  st.session_state[k] = v
6
 
7
- #st.title("📘SBS mapper")
8
  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
- 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()
 
4
  for k, v in st.session_state.items():
5
  st.session_state[k] = v
6
 
 
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
 
12
  def dataframe_with_selections(df_chapters: pd.DataFrame, init_value: bool = False) -> pd.DataFrame:
13
  df_with_selections = df_chapters.copy()