CBSE Class 12 Informatics Practices Question 43 of 70

Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 8

Back to all questions
8
Question

Question 8

The to_sql() function cannot create a MySQL table.

Answer

False

Reason — The to_sql() function in pandas, when used with the if_exists = 'replace' parameter, can create a MySQL table.