Igor
commited on
Commit
·
21ac4e0
1
Parent(s):
c86a047
minor(dev): fix dataset features
Browse files
daiso.py
CHANGED
@@ -195,7 +195,7 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
195 |
def _generate_examples(self, file, split):
|
196 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
197 |
df = pd.read_csv(file, delimiter=",", header=0, quotechar='"', dtype=str)[
|
198 |
-
self.config.
|
199 |
]
|
200 |
|
201 |
rows = df.to_dict(orient="records")
|
|
|
195 |
def _generate_examples(self, file, split):
|
196 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
197 |
df = pd.read_csv(file, delimiter=",", header=0, quotechar='"', dtype=str)[
|
198 |
+
self.config.features
|
199 |
]
|
200 |
|
201 |
rows = df.to_dict(orient="records")
|