georad commited on
Commit
093c97f
·
verified ·
1 Parent(s): f0f04f2

Update pages/chapter_index.py

Browse files
Files changed (1) hide show
  1. pages/chapter_index.py +1 -1
pages/chapter_index.py CHANGED
@@ -27,7 +27,7 @@ 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, hide_index=True)
31
 
32
  selected_chapters = dataframe_with_selections(df_chapters)
33
  st.write("Your selection:")
 
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:")