Exemplo n.º 1
0
 def get_engine():
     return DBSelector().get_engine('db_stock')
Exemplo n.º 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
Exemplo n.º 3
0
 def get_engine(self):
     return DBSelector().mongo('qq')