📜  mysql 与 sqlalchecmy 的连接 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:24.199000             🧑  作者: Mango

代码示例1
import pandas as pd
import pymysql
from sqlalchemy import create_engine

cnx = create_engine('mysql+pymysql://:@/')    
df = pd.read_sql('SELECT * FROM ', cnx) #read the entire table