myshirk commited on
Commit
c59bc5d
Β·
verified Β·
1 Parent(s): 0acec27

show all data at startup

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -167,6 +167,9 @@ w_years.param.watch(lambda e: search(), 'value')
167
  w_semquery.param.watch(lambda e: search(), 'enter_pressed')
168
  w_keyword.param.watch(lambda e: search(), 'enter_pressed')
169
 
 
 
 
170
  # ──────────────────────────────────────────────────────────────────────
171
  # 5) Layout
172
  # ──────────────────────────────────────────────────────────────────────
 
167
  w_semquery.param.watch(lambda e: search(), 'enter_pressed')
168
  w_keyword.param.watch(lambda e: search(), 'enter_pressed')
169
 
170
+ # Show all data at startup
171
+ result_table.value = df[["country", "year", "question_text", "answer_text"]].copy()
172
+
173
  # ──────────────────────────────────────────────────────────────────────
174
  # 5) Layout
175
  # ──────────────────────────────────────────────────────────────────────