Update pages/type_text_v10.py
Browse files- pages/type_text_v10.py +2 -2
pages/type_text_v10.py
CHANGED
@@ -57,7 +57,7 @@ for item in chapter_rows_indexes_list:
|
|
57 |
|
58 |
if len(combined_chapters_rows_indexes_list) == 1:
|
59 |
st.warning("Please select at least one chapter")
|
60 |
-
st.write("COMBINED CHAPTERS ROWS INDEXES LIST: ", combined_chapters_rows_indexes_list)
|
61 |
df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", header=0, skip_blank_lines=False, skiprows = lambda x: x not in combined_chapters_rows_indexes_list)
|
62 |
|
63 |
#df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", index_col="SBS_Code", usecols=["Long_Description"]) # na_values=['NA']
|
@@ -68,7 +68,7 @@ df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", header=0, skip_blank_lines=False
|
|
68 |
#skiprows = list(range(1,from_line - 1))
|
69 |
#df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", header=0, skip_blank_lines=False, skiprows=skiprows, nrows=nrows)
|
70 |
|
71 |
-
st.write(df_SBS.head(5))
|
72 |
SBScorpus = df_SBS['Long_Description'].values.tolist()
|
73 |
|
74 |
|
|
|
57 |
|
58 |
if len(combined_chapters_rows_indexes_list) == 1:
|
59 |
st.warning("Please select at least one chapter")
|
60 |
+
#st.write("COMBINED CHAPTERS ROWS INDEXES LIST: ", combined_chapters_rows_indexes_list)
|
61 |
df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", header=0, skip_blank_lines=False, skiprows = lambda x: x not in combined_chapters_rows_indexes_list)
|
62 |
|
63 |
#df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", index_col="SBS_Code", usecols=["Long_Description"]) # na_values=['NA']
|
|
|
68 |
#skiprows = list(range(1,from_line - 1))
|
69 |
#df_SBS = pd.read_csv("SBS_V2_0/Code_Table.csv", header=0, skip_blank_lines=False, skiprows=skiprows, nrows=nrows)
|
70 |
|
71 |
+
#st.write(df_SBS.head(5))
|
72 |
SBScorpus = df_SBS['Long_Description'].values.tolist()
|
73 |
|
74 |
|