anjalyjayakrishnan commited on
Commit
d428d4d
·
1 Parent(s): 0c324d5
Files changed (1) hide show
  1. test.py +2 -2
test.py CHANGED
@@ -148,8 +148,8 @@ class Test(datasets.GeneratorBasedBuilder):
148
  print("---------------------------------")
149
  print(key, type(key))
150
  print(row, type(row))
151
- data_df = pd.read_csv(row)
152
-
153
  yield key, {
154
  "sentence": data["sentence"],
155
  "path": data["path"],
 
148
  print("---------------------------------")
149
  print(key, type(key))
150
  print(row, type(row))
151
+ data = json.loads(row)
152
+ print(data)
153
  yield key, {
154
  "sentence": data["sentence"],
155
  "path": data["path"],