Update tidytuesday_for_python.py
Browse files
tidytuesday_for_python.py
CHANGED
|
@@ -124,6 +124,6 @@ class TidyTuesdayPython(datasets.GeneratorBasedBuilder):
|
|
| 124 |
def _generate_examples(self, filepath):
|
| 125 |
logging.info("generating examples from = %s", filepath)
|
| 126 |
with open(filepath, "r") as j:
|
| 127 |
-
tidytuesday_json = json.load()
|
| 128 |
for record in tidytuesday_json:
|
| 129 |
yield record
|
|
|
|
| 124 |
def _generate_examples(self, filepath):
|
| 125 |
logging.info("generating examples from = %s", filepath)
|
| 126 |
with open(filepath, "r") as j:
|
| 127 |
+
tidytuesday_json = json.load(j)
|
| 128 |
for record in tidytuesday_json:
|
| 129 |
yield record
|