Populate an entry box from sql within a Class
Well, psql.read_sql
returns a DataFrame
so you'd need to do something in the realm of:
my_title = df['title'].values[0]
Well, psql.read_sql
returns a DataFrame
so you'd need to do something in the realm of:
my_title = df['title'].values[0]