from sqlalchemy import create_engine
import pandas
engine = create_engine('mysql+pymysql://root:123456@localhost:3306/controlsystembase_dus')
connect = engine.connect()
connect = pandas.read_sql_table('levels',engine)
import sqlalchemy
from sqlalchemy import create_engine
import pandas as pd
engine = create_engine("mysql+pymysql:///root:123456@localhost:3306/controlsystembase_dus")
df = pd.read_sql_table = ("LEVELS",engine)
df