import pandas as pd
from sqlalchemy import create_engine

URL = "XXX"
engine_prd = create_engine(URL)
sql = "select \"步步高\" from SW_TMALL_WEEKLY_COMPANY"
df = pd.read_sql_query(sql, engine_prd)
df.to_csv("database.csv")
Last modification:November 18th, 2020 at 04:50 pm
如果觉得我的文章对你有用,请随意赞赏