def load_luigi_stats(db_path, table):
"""
Loads the luigi stats from the stats db
:param db_path: path to database
:return: DataFrame
"""
engine = create_engine('sqlite:///' + db_path)
return pd.read_sql_table(table, engine)
sqlInterface.py 文件源码
python
阅读 39
收藏 0
点赞 0
评论 0
评论列表
文章目录