I am inserting data into a Microsoft Access database using the following code:
test_data.to_sql('employee_table', cnxn, index=False, if_exists='append', chunksize=10, method='multi')
This gives error:
AttributeError: 'CompileError' object has no attribute 'orig'
There is no error when just using the following i.e. no method
option:
test_data.to_sql('employee_table', cnxn, index=False, if_exists='append', chunksize=10)