 <p>If you took time to read the FineManual for <code>pandas.DataFrame.to_sql</code>, you would have found out by yourself:</p> <blockquote> <p>if_exists : {‘fail’, ‘replace’, ‘append’}, default ‘fail’</p> <pre><code> fail: If table exists, do nothing. replace: If table exists, drop it, recreate it, and insert data. append: If table exists, insert data. Create if does not exist. </code></pre> </blockquote> <p><a href="http://pandas.pydata.org/pandas-docs/version/0.15.1/generated/pandas.DataFrame.to_sql.html" rel="nofollow">http://pandas.pydata.org/pandas-docs/version/0.15.1/generated/pandas.DataFrame.to_sql.html</a></p> <p>For the record, it took me exactly 23s to find this once I had confirmation you were talking about Pandas. </p>