georad commited on
Commit
33ee252
·
verified ·
1 Parent(s): 6515087

Update pages/chapter_index.py

Browse files
Files changed (1) hide show
  1. pages/chapter_index.py +5 -2
pages/chapter_index.py CHANGED
@@ -46,8 +46,11 @@ selected_chapters = dataframe_with_selections(df_chapters)
46
  st.write("Your selection:")
47
  st.write(selected_chapters)
48
  selected_chapters_list = selected_chapters.iloc[:,0].tolist()
49
- st.write("SELECTED CHAPTERS: ", selected_chapters_list)
50
- for item in selected_chapters_list.iloc[:,0]:
 
 
 
51
  #start_row = item[4], end_row = item[5]
52
  st.write("ZZZZZZZZZZZZZ: ", item)
53
  #selected_rows_list = [row for rows in selected_chapters_list.iloc[;,;][4]]
 
46
  st.write("Your selection:")
47
  st.write(selected_chapters)
48
  selected_chapters_list = selected_chapters.iloc[:,0].tolist()
49
+ st.write("SELECTED CHAPTERS: ", selected_chapters_list)
50
+ selected_rows_list = selected_chapters.iloc[:,6].tolist()
51
+ st.write("SELECTED ROWS: ", selected_rows_list)
52
+
53
+ for item in selected_chapters_list[]:
54
  #start_row = item[4], end_row = item[5]
55
  st.write("ZZZZZZZZZZZZZ: ", item)
56
  #selected_rows_list = [row for rows in selected_chapters_list.iloc[;,;][4]]