Python psycopg2 DELETE data in AWS, no result, no error : <p>I try to delete data in a table in AWS. The code below works well if I pull data from AWS.</p>

<pre><code>import psycopg2
import pandas as pd

con=psycopg2.connect(dbname= My_Credential.....)
cur = con.cursor()

sql = """
DELETE FROM my_table
"""

cur.execute(sql)
</code></pre>

<p>After runing the code, I don't have any error message, but if I go check the data in that table, the data is still there. I wonder if I need to add any code like to COMMIT the change?</p>

<p>please advise. thanks</p>
