Update ik-nlp-22_pestyle.py
Browse files- ik-nlp-22_pestyle.py +1 -1
ik-nlp-22_pestyle.py
CHANGED
@@ -133,7 +133,7 @@ class IkNlp22PEStyle(datasets.GeneratorBasedBuilder):
|
|
133 |
|
134 |
def _generate_examples(self, filepath: str, fields):
|
135 |
"""Yields examples as (key, example) tuples."""
|
136 |
-
data = pd.read_csv(filepath)
|
137 |
data = data[fields]
|
138 |
print(data.shape)
|
139 |
for id_, row in data.iterrows():
|
|
|
133 |
|
134 |
def _generate_examples(self, filepath: str, fields):
|
135 |
"""Yields examples as (key, example) tuples."""
|
136 |
+
data = pd.read_csv(filepath, sep="\t")
|
137 |
data = data[fields]
|
138 |
print(data.shape)
|
139 |
for id_, row in data.iterrows():
|