# Insert whole DataFrame into MySQL data.to_sql('book_details', con = engine, if_exists = 'append', chunksize = 1000)