我正在使用以下代码将数据插入 Microsoft Access 数据库:
test_data.to_sql('employee_table', cnxn, index=False, if_exists='append', chunksize=10, method='multi')
这给出了错误:
AttributeError: 'CompileError' object has no attribute 'orig'
仅使用以下即无method
选项时没有错误:
test_data.to_sql('employee_table', cnxn, index=False, if_exists='append', chunksize=10)