cara memasukkan ke dalam basis data yang ada 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