I’m trying to make two dataframes in streamlit in snowflake. In one dataframe the user inputs values. In the second dataframe, the values automatically show up under the same column. Would we use st.number_input in some way to do this functionality?
You can use
st.data_editor to both display and make direct edits to the data. If you’d like to duplicate the dataframe, you could use the
copy() method of Pandas as in
df.copy() to create a copy of a dataframe to create a second display
Here’s the Docs page of
st.data_editor which has several code snippet examples.
Hope this helps!
st.data_editor doesn’t become effective until next version though correct. The current working function would be st.experimental_data_editor right? How would you format for that?