title: AttributeError: 'SnowflakeCursor' object has no attribute 'cursor'
body: <p>I am trying to writer my DataFrame to Snowflake using to_sql method.</p>
  <pre class="lang-py prettyprint-override"><code>sf_conn = snowflake.connector.connect(
      account=*****,
      user=*****,
      password=*****,
      role=*****,
      warehouse=*****,
      database=*****
      
  )
  
  sf_cur = sf_conn.cursor()
  df = pd.DataFrame([('Mark', 10), ('Luke', 20)], columns=['name', 'balance'])
  df.to_sql('TEST3',con=sf_cur, schema='public', index=False)
  </code></pre>
  <p>But no luck yet.</p>
  <pre><code>File &quot;/home/karma/.local/lib/python3.6/site-packages/pandas/io/sql.py&quot;, line 1584, in execute
      cur = self.con.cursor()
  AttributeError: 'SnowflakeCursor' object has no attribute 'cursor'
  </code></pre>
  <p>Even tried giving <code>con=sf_conn</code> but get the following error:</p>
  <pre><code>pandas.io.sql.DatabaseError: Execution failed on sql 'SELECT name FROM sqlite_master WHERE type='table' AND name=?;': not all arguments converted during string formatting
  </code></pre>
  <p>I am able to do the same job using sqlAlchemy create_engine lib, but wanted to use specifically snowflake connection.</p>