kleinay commited on
Commit
05f8d66
·
1 Parent(s): 038ae25
Files changed (1) hide show
  1. qa_discourse.py +1 -1
qa_discourse.py CHANGED
@@ -133,7 +133,7 @@ class QaDiscourse(datasets.GeneratorBasedBuilder):
133
  """ Yields QA-Discourse examples from a tsv file."""
134
 
135
  # merge annotations from sections
136
- df = pd.concat([pd.read_csv(fn, separator='\t') for fn in filepaths]).reset_index()
137
  for counter, row in df.iterrows():
138
  # Prepare question (3 "slots" and question mark)
139
  question = [row.question_start, row.question_aux, row.question_body.str.rstrip('?'), '?']
 
133
  """ Yields QA-Discourse examples from a tsv file."""
134
 
135
  # merge annotations from sections
136
+ df = pd.concat([pd.read_csv(fn, sep='\t') for fn in filepaths]).reset_index()
137
  for counter, row in df.iterrows():
138
  # Prepare question (3 "slots" and question mark)
139
  question = [row.question_start, row.question_aux, row.question_body.str.rstrip('?'), '?']