How to get input from user for ad hoc manual runs in Snowpark
We have a small piece of code using snowpark using python to be run from inside snowflake. We need to get input from the user for ad hoc manual runs.
Trying to install following package – pip install snowflake-connector-python but getting error
Getting an error when trying to install: pip install snowflake-connector-python
to connect Snowflake. I’m using Python version: 3.12.4. This is the error:
How do you extract an array from a Snowpark DataFrame without converting it to a string?
I’m trying to extract an array from a Snowpark DataFrame, however, when I actually get it out of the DataFrame using .collect()
it has been converted to a string. Is there any way to get it out as a list[str]
? This also seems to happen when converting to pandas using .to_pandas()
.
How do you extract an array from a Snowpark DataFrame without converting it to a string?
I’m trying to extract an array from a Snowpark DataFrame, however, when I actually get it out of the DataFrame using .collect()
it has been converted to a string. Is there any way to get it out as a list[str]
? This also seems to happen when converting to pandas using .to_pandas()
.
How do you extract an array from a Snowpark DataFrame without converting it to a string?
I’m trying to extract an array from a Snowpark DataFrame, however, when I actually get it out of the DataFrame using .collect()
it has been converted to a string. Is there any way to get it out as a list[str]
? This also seems to happen when converting to pandas using .to_pandas()
.
Snowflake – Python Snowpark problem with unpivot function
I want to use python snowpark to unpivot a table using the code below
Unable to upload DataFrame to snowflake
I’m trying upload dataframe on to snowflake. The table is getting create but the data is not getting populated.
Snowflake python worksheet with package from stage (Office365-REST-Python-Client)
I know very similar questions have been asked, but all attempts to import this non-Anaconda package into a Snowflake Python worksheet give the error “ModuleNotFoundError: No module named…”.
Session.sql() missing 1 required positional argument: ‘query’ : Snowflake
I have an error with this code:
How to Create a table with spaces in column name
I am creating table in Snowflake.
The column name ‘Full Name’ must have a space in the middle. When I put it in double quotes it automatically put the underscore instead of space.
What is the syntax to create it with space in the middle?