system HF staff commited on
Commit
460c7dd
1 Parent(s): 8ad47af

Update files from the datasets library (from 1.6.1)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.6.1

Files changed (1) hide show
  1. times_of_india_news_headlines.py +1 -1
times_of_india_news_headlines.py CHANGED
@@ -81,7 +81,7 @@ class TimesOfIndiaNewsHeadlines(datasets.GeneratorBasedBuilder):
81
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": path_to_manual_file})]
82
 
83
  def _generate_examples(self, path=None):
84
- """ Yields examples. """
85
  with open(path, encoding="utf8") as csv_file:
86
  csv_reader = csv.reader(
87
  csv_file, quotechar='"', delimiter=",", skipinitialspace=True, quoting=csv.QUOTE_ALL
 
81
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": path_to_manual_file})]
82
 
83
  def _generate_examples(self, path=None):
84
+ """Yields examples."""
85
  with open(path, encoding="utf8") as csv_file:
86
  csv_reader = csv.reader(
87
  csv_file, quotechar='"', delimiter=",", skipinitialspace=True, quoting=csv.QUOTE_ALL