How to select single or multiple rows in st.dataframe and return the selected data?

Hey @Alex_Wang,

Another way to do this would be using st.data_editor. Did you give a look at that page in our docs? Here’s a playground with the demo too:

CleanShot 2023-11-07 at 10.32.27

5 Likes