class_docstr: SnowFlake connectors are used to connect to SnowFlake Data Cloud.
class_docstr_tok: ["SnowFlake","connectors","are","used","to","connect","to","SnowFlake","Data","Cloud","."]
docstr: Initialize Database Connection
  
  Args:
      config (SQLConnectorConfig): Configurations to load database
docstr_tok: ["Initialize","Database","Connection","Args",":","config","(","SQLConnectorConfig",")",":","Configurations","to","load","database"]
code: def _init_connection(self, config: SnowFlakeConnectorConfig):
      """
      Initialize Database Connection
  
      Args:
          config (SQLConnectorConfig): Configurations to load database
  
      """
      self._engine = create_engine(
          f"{config.dialect}://{config.username}:{config.password}@{config.account}/?warehouse={config.warehouse}&database={config.database}&schema={config.dbSchema}"
      )
  
      self._connection = self._engine.connect()
  
file_path: pandas-ai/pandasai/connectors/snowflake.py
imports: import pandas
  from .base import BaseConnectorConfig, SnowFlakeConnectorConfig
  from sqlalchemy import create_engine
  from functools import cache
  from typing import Union
  from .sql import SQLConnector
label_desc: Use image node_id 3 for calling the SnowFlakeConnector obj's underlying member method code with example usage: obj._init_connection(config) without return types