yuansui commited on
Commit
2030b8f
·
1 Parent(s): e4167d3

Update GitTables.py

Browse files
Files changed (1) hide show
  1. GitTables.py +1 -0
GitTables.py CHANGED
@@ -154,6 +154,7 @@ class GitTables(datasets.GeneratorBasedBuilder):
154
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
155
  with open(filepath, encoding="utf-8") as f:
156
  _list = [i for i in f.read().split("\n") if len(i) > 0]
 
157
  for key, i in enumerate(_list):
158
  data = json.loads(i)
159
  #with jsonlines.open(filepath, mode="r") as reader:
 
154
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
155
  with open(filepath, encoding="utf-8") as f:
156
  _list = [i for i in f.read().split("\n") if len(i) > 0]
157
+ print(_list)
158
  for key, i in enumerate(_list):
159
  data = json.loads(i)
160
  #with jsonlines.open(filepath, mode="r") as reader: