_______ and ____ are two mandatory libraries for faciliting import and export of data between Pandas and MySQL.
_______ and ____ are two mandatory libraries for faciliting import and export of data between Pandas and MySQL.
Solution
✅ Correct Option: 4
pymysql is a Python driver that connects to a MySQL database, and sqlalchemy provides the engine that Pandas uses in read_sql() and to_sql() to read from and write to MySQL tables.
A typical connection looks like create_engine("mysql+pymysql://user:password@host/db").
Options 1, 2 and 3: plmysql and sqlmyalchemy are not real libraries. They are look-alike misspellings of pymysql and sqlalchemy.
Related questions:
2026: 23 May Shift 1
2026: 29 May Shift 1
2025: 27 May Shift 2