Skip to main contentSkip to solution

Arrange the following operations for importing and exporting the data between Pandas and MYSQL applications.

A. install pymysql

B. Establish the connection

C. install sqlalchemy

D. Fetch the data

Solution

✅ Correct Option: 2

The libraries must be installed before a connection can be made, and data can be fetched only after the connection exists. pymysql is the MySQL driver and sqlalchemy builds the engine that Pandas uses, so both come first.

A. install pymysql

C. install sqlalchemy

B. Establish the connection

D. Fetch the data

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question