Update pages/chapter_index.py
Browse files- pages/chapter_index.py +2 -2
pages/chapter_index.py
CHANGED
@@ -27,11 +27,11 @@ def dataframe_with_selections(df_chapters: pd.DataFrame, init_value: bool = Fals
|
|
27 |
|
28 |
# Filter the dataframe using the temporary column, then drop the column
|
29 |
selected_rows = edited_df[edited_df.Select]
|
30 |
-
return selected_rows.drop('Select', axis=1)
|
31 |
|
32 |
selected_chapters = dataframe_with_selections(df_chapters)
|
33 |
st.write("Your selection:")
|
34 |
-
st.write(selected_chapters
|
35 |
|
36 |
selected_chapters_list = selected_chapters.iloc[:,0].tolist()
|
37 |
#st.write("ZZZZZZZZZZ: ", selected_chapters_list)
|
|
|
27 |
|
28 |
# Filter the dataframe using the temporary column, then drop the column
|
29 |
selected_rows = edited_df[edited_df.Select]
|
30 |
+
return selected_rows.drop('Select', axis=1, hide_index=True)
|
31 |
|
32 |
selected_chapters = dataframe_with_selections(df_chapters)
|
33 |
st.write("Your selection:")
|
34 |
+
st.write(selected_chapters)
|
35 |
|
36 |
selected_chapters_list = selected_chapters.iloc[:,0].tolist()
|
37 |
#st.write("ZZZZZZZZZZ: ", selected_chapters_list)
|