Update medical_qa_ru_data.py
Browse files- medical_qa_ru_data.py +1 -1
medical_qa_ru_data.py
CHANGED
@@ -56,7 +56,7 @@ class MedicalQARuData(datasets.GeneratorBasedBuilder):
|
|
56 |
"""Yields examples."""
|
57 |
with open(filepath, encoding="utf-8") as f:
|
58 |
data = csv.reader(f)
|
59 |
-
for id_, row in enumerate(data):
|
60 |
yield id_, {
|
61 |
"date": row[0],
|
62 |
"categ": row[1],
|
|
|
56 |
"""Yields examples."""
|
57 |
with open(filepath, encoding="utf-8") as f:
|
58 |
data = csv.reader(f)
|
59 |
+
for id_, row in enumerate(data[1:]):
|
60 |
yield id_, {
|
61 |
"date": row[0],
|
62 |
"categ": row[1],
|