Update pages/chapter_index.py
Browse files- pages/chapter_index.py +7 -1
pages/chapter_index.py
CHANGED
@@ -32,8 +32,14 @@ selected_chapters_list = st.session_state.selected_chapters
|
|
32 |
selected_chapters = dataframe_with_selections(df_chapters)
|
33 |
st.write("Your selection:")
|
34 |
st.write(selected_chapters)
|
35 |
-
selected_chapters_list = selected_chapters.iloc[:,:] #.tolist()
|
36 |
st.write("SELECTED CHAPTERS: ", selected_chapters_list)
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
if selected_chapters is not None:
|
39 |
st.session_state.selected_chapters = selected_chapters_list
|
|
|
32 |
selected_chapters = dataframe_with_selections(df_chapters)
|
33 |
st.write("Your selection:")
|
34 |
st.write(selected_chapters)
|
35 |
+
selected_chapters_list = selected_chapters.iloc[:,:] #.tolist()
|
36 |
st.write("SELECTED CHAPTERS: ", selected_chapters_list)
|
37 |
+
for item in selected_chapters_list.iloc[:,:]:
|
38 |
+
start_row = item[4], end_row = item[5]
|
39 |
+
st.write("ZZZZZZZZZZZZZ: ", start_row, end_row)
|
40 |
+
#selected_rows_list = [row for rows in selected_chapters_list.iloc[;,;][4]]
|
41 |
+
|
42 |
+
|
43 |
|
44 |
if selected_chapters is not None:
|
45 |
st.session_state.selected_chapters = selected_chapters_list
|