How do you read from and write to a SQL database with pandas read_sql and to_sql?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to move data between pandas and a SQL database using read_sql and to_sql. Tests knowledge of connections, parameterized queries, chunked reads, the if_exists modes and the practical issues of large or production tables.