Operating with Snowpark
Snowpark for Python consists of client APIs, UDFs, and stored procedures that execute directly on the Python engine. The following screenshot shows the various Snowpark objects that you can choose from:
Figure 2.32 – Snowpark Python objects
Snowpark uses DataFrame objects to query and process data. The guiding principle in operating with Snowpark is to keep the data in Snowflake and process it right within Snowflake using the various Snowflake objects. The following figure shows Snowpark’s architecture:
Figure 2.33 – Snowpark Python architecture
In the next section, we will cover the Python Engine.
The Python Engine
The Python Engine is an Anaconda-powered secure sandboxed Python environment that’s executed on top of Snowflake’s virtual warehouse and hosted on Snowflake’s compute infrastructure. This lets you process data using Python without the need...