Before clicking “Create Topic”, please make sure your post includes the following information (otherwise, the post will be locked).
- Are you running your app locally or is it deployed? → Locally
- If your app is deployed:
a. Is it deployed on Community Cloud or another hosting platform? → No
b. Share the link to the public deployed app. → NA - Share the link to your app’s public GitHub repository.
- Share the full text of the error message (not a screenshot). → NA
- Share the Streamlit and Python versions.3.11
I want to know if I can perform insert operation to the Google Sheet using st.connection? I can see examples of CRUD - but I have a very simple requirement where I just want to perform insert without pulling the data in df. So everytime I click submit button - a new row is created with the submitted data is added to existing records in google sheet.
instead of conn.update(worksheet=“Sheet1”, data=df)
conn.insert(worksheet=“Sheet1”, data=df)
Regards,
Ninad