Spaces:
Sleeping
Sleeping
change table name to survey_info
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def get_data():
|
|
21 |
user=DB_USER,
|
22 |
password=DB_PASSWORD
|
23 |
)
|
24 |
-
query = "SELECT country, year, section, question_code, question_text, answer_code, answer_text FROM
|
25 |
df = pd.read_sql_query(query, conn)
|
26 |
conn.close()
|
27 |
return df
|
|
|
21 |
user=DB_USER,
|
22 |
password=DB_PASSWORD
|
23 |
)
|
24 |
+
query = "SELECT country, year, section, question_code, question_text, answer_code, answer_text FROM survey_info;"
|
25 |
df = pd.read_sql_query(query, conn)
|
26 |
conn.close()
|
27 |
return df
|