Skip to content

PyGWalker with Snowflake

Observed Observer edited this page Oct 10, 2023 · 3 revisions

1. Install pygwalker

pip install --upgrade --pre pygwalker
pip install --upgrade --pre "pygwalker[snowflake]" 

2. Run code in jupyter

import pygwalker as pyg
from pygwalker.data_parsers.database_parser import Connector
conn = Connector(
    "snowflake://user_name:password@account_identifier/database/schema",
    """
        SELECT
            *
        FROM
            SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.ORDERS
    """
)
walker = pyg.walk(conn)

Read PyGWalker + Snowflake doc in kanaries official document website.