Datasets:
Commit
·
d654b4a
1
Parent(s):
a19b3f1
error fix
Browse files
test.py
CHANGED
|
@@ -144,6 +144,9 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
| 144 |
def _generate_examples(self, filepath):
|
| 145 |
with open(filepath, encoding="utf-8") as f:
|
| 146 |
for key, row in enumerate(f):
|
|
|
|
|
|
|
|
|
|
| 147 |
data_df = pd.read_csv(row)
|
| 148 |
|
| 149 |
yield key, {
|
|
|
|
| 144 |
def _generate_examples(self, filepath):
|
| 145 |
with open(filepath, encoding="utf-8") as f:
|
| 146 |
for key, row in enumerate(f):
|
| 147 |
+
print("---------------------------------")
|
| 148 |
+
print(key, type(key))
|
| 149 |
+
print(row, type(row))
|
| 150 |
data_df = pd.read_csv(row)
|
| 151 |
|
| 152 |
yield key, {
|