Informatics Practices
The to_sql() function cannot work if the named table already exists.
Python Pandas
1 Like
Answer
False
Reason — The to_sql() function can work with existing tables in MySQL.
Answered By
3 Likes
Related Questions
The to_sql() function can append to a MySQL table.
The to_sql() function cannot create a MySQL table.
The read_sql() can also read from CSV files.
Assertion. Python Panda library offers functionality to interact with a CSV file.
Reason. Panda's readcsv() and tocsv() functions can read-from and write-to CSV files.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.