system HF staff commited on
Commit
e36bf23
1 Parent(s): 6e43a6c

Update files from the datasets library (from 1.6.0)

Browse files

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

Files changed (1) hide show
  1. matinf.py +1 -5
matinf.py CHANGED
@@ -1,10 +1,6 @@
1
- from __future__ import absolute_import, division, print_function
2
-
3
  import csv
4
  import os
5
 
6
- import six
7
-
8
  import datasets
9
 
10
 
@@ -176,7 +172,7 @@ class Matinf(datasets.GeneratorBasedBuilder):
176
  example["label"] = label
177
 
178
  # Filter out corrupted rows.
179
- for value in six.itervalues(example):
180
  if value is None:
181
  break
182
  else:
 
 
 
1
  import csv
2
  import os
3
 
 
 
4
  import datasets
5
 
6
 
 
172
  example["label"] = label
173
 
174
  # Filter out corrupted rows.
175
+ for value in example.values():
176
  if value is None:
177
  break
178
  else: