Deleting rows in st.data_editor progmatically

Here’s one way to do it. Rather than using the default row picker, this adds an extra column called “x”, and if it is checked, it updates the dataframe (which is stored in session state)

3 Likes