yonatanbitton
commited on
Commit
·
c783465
1
Parent(s):
9e31150
Update dollar_street_test.py
Browse files- dollar_street_test.py +1 -1
dollar_street_test.py
CHANGED
@@ -69,7 +69,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
|
|
69 |
"""Yields examples."""
|
70 |
df = pd.read_csv(examples_csv)
|
71 |
for c in _JSON_COLS:
|
72 |
-
df[c] = df[c].apply(json.loads
|
73 |
|
74 |
for r_idx, r in df.iterrows():
|
75 |
r_dict = r.to_dict()
|
|
|
69 |
"""Yields examples."""
|
70 |
df = pd.read_csv(examples_csv)
|
71 |
for c in _JSON_COLS:
|
72 |
+
df[c] = df[c].apply(json.loads)
|
73 |
|
74 |
for r_idx, r in df.iterrows():
|
75 |
r_dict = r.to_dict()
|