我挣扎了很长一段时间试图将一个包含JSON列的表保存到MySQL中,使用SQLAlchemy和熊猫的to_sql。我犯了这个错误
sqlalchemy.exc.ProgrammingError: (mysql.connector.errors.ProgrammingError) Failed processingpyformat-parameters; Python 'list' cannot be converted to a MySQL type
我正在尝试将一段数据帧添加到mySQL数据库,但我的语法出现错误 #connection to database_mysql_connector.MySQLInterfaceError: You have an error in your SQL syntax; checkthe manual that corresponds to your MySQL ser