pandas.to_sql with new columns to existing table, add automatically new columns?
<p>I want to write a dataframe to an existing sqlite (or mysql) table and sometimes the dataframe will contain a new column that is not yet present in the database. What do I need to do to avoid this throwing an error? Is there a way to tell pandas or sqlalchemy to automatically expand the database table with potential new columns?</p>

<pre><code>sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) table match_exact_both has no column named ....
</code></pre>