Streamlit data-editor in Snowflake
Is there a way in which you can copy paste a thousand rows from an Excel into a Streamlit data-editor.
Add empty columns to Snowpark’s Row Object
I am new to Streamlit-in-Snowflake and am using the Snowflake IDE (SnowSight).
I have the following command: data = session.sql(sql_statement).collect()
This works fine and Streamlit has the query executed and loads the results.
Streamlit database access error from snowflake native apps
I have made streamlit under snowflake native apps, and the streamlit is working fine locally, but while going through snowflake native apps, it is not working, like it is not able to use the desired database that I wanted.
AttributeError: module ‘streamlit’ has no attribute ‘connection’
Traceback: File “/usr/lib/python_udf/3dddbf5d6aecbf84663dccc617833ebd4259a340dc5b8c7400c09b95b823aee0/lib/python3 .8/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script exec(code, module.__dict__) File “/tmp/appRoot/streamlit_app.py”, line 23, in <module> cnx=st.connection(“snowflake”) # Import python packages import streamlit as st from snowflake.snowpark.functions import col # Write directly to the app st.title(“Customize Your Smoothie :cup_with_straw:”) st.write( “””Choose the fruits you want in your custom Smoothie! “”” ) name_on_order = st.text_input(“Name on […]
Reading pickle from Snowflake stage into Streamlit Application
I am considering to use Snowflake’s Streamlit App to make some validation reports. However, I cannot find information is there an easy way to read data from snowflake stage (pickled data frames, model files, etc.) to Streamlit application. I tried to load model file and print summary like that: