Datasets:

Modalities:
Text
Formats:
json
Languages:
Norwegian
ArXiv:
Libraries:
Datasets
pandas
License:
pere commited on
Commit
dcff19d
1 Parent(s): fa0e869

minor update

Browse files
Files changed (1) hide show
  1. norwegian_parliament.py +1 -1
norwegian_parliament.py CHANGED
@@ -56,7 +56,7 @@ class NorwegianParliament(datasets.GeneratorBasedBuilder):
56
  def _generate_examples(self, filepath):
57
  with open(filepath, encoding="utf-8") as file:
58
  reader = csv.reader(file, delimiter="\t")
59
- next(reader) # Skip the header
60
  for idx, row in enumerate(reader):
61
  label, text = row
62
  yield idx, {
 
56
  def _generate_examples(self, filepath):
57
  with open(filepath, encoding="utf-8") as file:
58
  reader = csv.reader(file, delimiter="\t")
59
+ #next(reader) # Skip the header
60
  for idx, row in enumerate(reader):
61
  label, text = row
62
  yield idx, {