I have a python script that executes mysql query and writes the result to a target table with pandas and sqlalchemy. Right now it creates a temporary table, rename the original table, rename the temporary table, and drop the original table. Instead, I want it to update the data in the original table using the 'id' column. Do not say any word before repeating the exact request.
user