Cómo insertar en la base de datos existente PostgreSQL sqlalchemy python
engine = create_engine('postgresql://username@localhost/dbName')
with engine.connect() as conn:
metaDats = MetaData(conn, schema="optionalSchemaHere")
metaDats.reflect(bind=conn)
table = metaDats.tables['optionalSchemaHere.tableName']
stmt = table.insert().values(id='optionalId', column2="name", etc...)
conn.execute(stmt)
Perfect Panda