Datasets:
Update ViHOS.py
Browse files
ViHOS.py
CHANGED
@@ -55,7 +55,7 @@ class ViHOS(datasets.GeneratorBasedBuilder):
|
|
55 |
]
|
56 |
def _generate_examples(self, filepath, split):
|
57 |
|
58 |
-
data = pd.read_csv(filepath, header=
|
59 |
|
60 |
for i in range(len(data)):
|
61 |
content = str(data.loc[i, 1])
|
|
|
55 |
]
|
56 |
def _generate_examples(self, filepath, split):
|
57 |
|
58 |
+
data = pd.read_csv(filepath, header=None, sep=",", on_bad_lines='skip', skiprows=[0])
|
59 |
|
60 |
for i in range(len(data)):
|
61 |
content = str(data.loc[i, 1])
|