def getData(con):
query = 'SELECT {} FROM {}'.format(
','.join(['"{}"'.format(x) for x in DOWNLOAD_COLS]),
DOWNLOAD_TABLE)
if WHERE:
query += ' WHERE {}'.format(WHERE)
if LIMIT:
query += ' LIMIT {}'.format(LIMIT)
print(query)
df = pd.read_sql(
sql = query,
con = con)
return df
non_seq_formatting.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录