myshirk commited on
Commit
4a806db
·
verified ·
1 Parent(s): ae986c6

change table name to survey_info

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 survey_data;"
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