Esempio n. 1
0
def owners(): ### return list of owners

    a = sqlqueries.sqlowners()

    df = pd.read_sql(a, engine)

    return returnTable(df)
Esempio n. 2
0
def getowners(): ### return list of owners

    a = sqlqueries.sqlowners()

    df = pd.read_sql(a, engine)

    return df
Esempio n. 3
0
def owners2(): ### return list of owners

    import sqlite3
    conn = sqlite3.connect('money.db')

    a = sqlqueries.sqlowners()

    c = conn.cursor()
    c.execute(a)
    owners = c.fetchall()
    conn.close()
    return owners