this is running without errors:
import pandas as pd import pymysql.cursors connection = pymysql.connect(host=\'localhost\', user