Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
cdsc.py
CHANGED
@@ -123,7 +123,7 @@ class Cdsc(datasets.GeneratorBasedBuilder):
|
|
123 |
]
|
124 |
|
125 |
def _generate_examples(self, filepath, split):
|
126 |
-
"""
|
127 |
with open(filepath, encoding="utf-8") as f:
|
128 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
129 |
for id_, row in enumerate(reader):
|
|
|
123 |
]
|
124 |
|
125 |
def _generate_examples(self, filepath, split):
|
126 |
+
"""Yields examples."""
|
127 |
with open(filepath, encoding="utf-8") as f:
|
128 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
129 |
for id_, row in enumerate(reader):
|