title: How to insert dates in columns using python
body: <p>I have two list:</p>
  
  <pre><code>run = ['2019-01-03', '2019-01-04', '2019-01-05']
  curr = ['2019-01-04', '2019-01-05', '2019-01-06']
  </code></pre>
  
  <p>i want to insert dates into table <strong>vv_flag</strong> in columns run_date and curr_date respectively. like:</p>
  
  <pre><code>run_date      curr_date
  2019-01-03    2019-01-04
  2019-01-04    2019-01-05
  
  query = "select run_date, curr_date from cdedev.vv_flag where flag = 'N'"
  ress = cur.execute(query)
  print(ress)
  result = cur.fetchall()
  run = result['run_date']
  curr = result['curr_date']
  </code></pre>