Small module to improve functionality of st.data_editor() on dataframes

If it helps others, I wrote a small, easy-to-use module to improve the functionality of st.data_editor() widgets acting on dataframes, solving the following problems for me:

  1. Retrieving the contents of the edited dataframe (the robust way to do it is to use st.session_state and not the output from the widget)
  2. Losing changes made to dataframes on multi-page apps after leaving and coming back to the page
  3. Unresponsive resetting of the contents of the dataframe back to the original contents

This is a bit of a follow-up to my previous β€œShow the Community!” post, though the package here does not implement anything discussed there.