Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- fake_news_english.py +1 -1
fake_news_english.py
CHANGED
@@ -79,7 +79,7 @@ class FakeNewsEnglish(datasets.GeneratorBasedBuilder):
|
|
79 |
]
|
80 |
|
81 |
def _generate_examples(self, filepath):
|
82 |
-
"""
|
83 |
with open(filepath, "rb") as f:
|
84 |
f = pd.read_excel(f, engine="openpyxl")
|
85 |
for id_, row in f.iterrows():
|
|
|
79 |
]
|
80 |
|
81 |
def _generate_examples(self, filepath):
|
82 |
+
"""Yields examples."""
|
83 |
with open(filepath, "rb") as f:
|
84 |
f = pd.read_excel(f, engine="openpyxl")
|
85 |
for id_, row in f.iterrows():
|