Python 如何处理sqlalchemy.exc.OperationalError?;

Python 如何处理sqlalchemy.exc.OperationalError?;,python,pandas,Python,Pandas,sqlalchemy.exc.OperationalError:(sqlite3.OperationalError)无法解码为文本为“16787661:�\�89tuc' (此错误的背景信息位于:) 我想说的是,这两个数据库的编码id为utf-8 虽然存在一些乱七八糟的问题,但是如何在不解码列的情况下执行代码呢 i connect 2 database, and then use pandas to make the operation which is like the EXCEPT of

sqlalchemy.exc.OperationalError:(sqlite3.OperationalError)无法解码为文本为“16787661:�\�89tuc' (此错误的背景信息位于:)

我想说的是,这两个数据库的编码id为utf-8 虽然存在一些乱七八糟的问题,但是如何在不解码列的情况下执行代码呢

 i connect 2 database, and then use pandas to make the operation which is like the EXCEPT of SQL, but it seems there is some mistake of decode

 db_new = create_engine(path, encoding='utf-8')
 db_old = create_engine(path, encoding='utf-8')