Datasets:
Commit
·
74c6327
1
Parent(s):
7ced498
error fix
Browse files
test.py
CHANGED
@@ -147,6 +147,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
147 |
with open(filepath) as f:
|
148 |
data_df = pd.read_csv(f,sep=',')
|
149 |
yield data_df["path"], {
|
|
|
150 |
"sentence": data_df["sentence"],
|
151 |
"path": data_df["path"],
|
152 |
}
|
|
|
147 |
with open(filepath) as f:
|
148 |
data_df = pd.read_csv(f,sep=',')
|
149 |
yield data_df["path"], {
|
150 |
+
"unnamed" : data_df["unnamed"],
|
151 |
"sentence": data_df["sentence"],
|
152 |
"path": data_df["path"],
|
153 |
}
|