Load csv file into SnowFlake table using python
Posted on by Sumit KumarIn this blog we will learn how to load any csv file into Snowflake table using python.
Below example will connect to my trial snowflake account and it will create table student_math_mark.
And load csv file into STAGE table first then from STAGE table it will load csv file into table student_math_mark.
Using python code we are also selecting virtual warehouse,database and schema. After loading the csv file into table we are querying from table and displaying the result in console.
Below is the python code :-
After executing above python code we can login to snowflake account and can query on the created table.
Thank you for your help. Really appreciated your example.