I am a newcomer to Streamlit and would appreciate your guidance on how to retrieve edited data along with the corresponding row numbers from the st.data_editor/editable dataframe. If possible, please provide me with the complete code or a sample demonstration that includes the full code. I look forward to your valuable response.
(pandas.DataFrame, pandas.Series, pyarrow.Table, numpy.ndarray, list, set, tuple, or dict.)
The edited data. The edited data is returned in its original data type if it corresponds to any of the supported return types. All other data types are returned as a pandas.DataFrame.