Пример #1
0
 def get_engine():
     return DBSelector().get_engine('db_stock')
Пример #2
0
def get_basic_info():
    DB = DBSelector()
    engine = DB.get_engine('db_stock', 'qq')
    base_info = pd.read_sql('tb_basic_info', engine, index_col='index')
    return base_info
Пример #3
0
 def get_engine(self):
     return DBSelector().mongo('qq')