我的炼金术字符串是:
sql_insert.to_sql(name='Table1', con=engine, if_exists = 'append', index=False)返回误差
(mysql.connector.errors.ProgrammingError) 1054 (42S22):“字段列表”中未知列“Unnamed:0”
在df中没有特定的索引,只是通常的Pandas顺序如何使sql忽略它?
使用index=true,它返回“未知列索引”
发布于 2020-07-07 00:15:39
嗯,它没有锻炼我尝试过的任何东西,所以我只是用要使用的特定列来创建sql。还是不知道发生了什么。
https://stackoverflow.com/questions/62725539
复制相似问题