title: Python - how to make SQL "Create Table" statement based on DF and data in it?
body: <p>I loaded data (from CSV or Excel) into Python's Panda DF.</p>
  
  <pre><code>import pandas as pd
  df = pd.read_csv('table1.csv')
  </code></pre>
  
  <p>Data looks like this:</p>
  
  <pre><code>c1,c2,c3
  1,abc,1.5
  2,bcd,2.53
  3,agf,3.571
  </code></pre>
  
  <p>How to make SQL <code>create table statement</code> based on data in a dataframe which in this example would be:</p>
  
  <pre><code>create table table1 (c1 int, c2 varchar(3), c3 float);
  </code></pre>
  
  <p>Thanks. </p>