<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hi, <br></div><div><br></div><div>I keep getting the following error when I use engine = create_engine(logging in details to postgres)</div><div>df.to_sql('table_name', and etc.)</div><div><br></div><div><br></div>OperationalError: (psycopg2.OperationalError) SSL connection has been closed unexpectedly<br><br>(Background on this error at: <a href="http://sqlalche.me/e/13/e3q8" target="_blank">http://sqlalche.me/e/13/e3q8</a>)<br>OperationalError: (psycopg2.OperationalError) SSL connection has been closed unexpectedly<br><div><br></div><div>Can anyone shed any light on this?</div><div><br></div><div>Regards,</div><div><br></div><div>David</div></div>
</div></div>