Update tidytuesday_for_python.py
Browse files
tidytuesday_for_python.py
CHANGED
@@ -101,19 +101,19 @@ class TidyTuesdayPython(datasets.GeneratorBasedBuilder):
|
|
101 |
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
102 |
return [
|
103 |
datasets.SplitGenerator(
|
104 |
-
name=
|
105 |
gen_kwargs={
|
106 |
"filepath": downloaded_files["full"]
|
107 |
}
|
108 |
),
|
109 |
datasets.SplitGenerator(
|
110 |
-
name=datasets.Split.
|
111 |
gen_kwargs={
|
112 |
"filepath": downloaded_files["train"]
|
113 |
}
|
114 |
),
|
115 |
datasets.SplitGenerator(
|
116 |
-
name=datasets.Split.
|
117 |
gen_kwargs={
|
118 |
"filepath": downloaded_files["validation"]
|
119 |
}
|
|
|
101 |
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
102 |
return [
|
103 |
datasets.SplitGenerator(
|
104 |
+
name="full",
|
105 |
gen_kwargs={
|
106 |
"filepath": downloaded_files["full"]
|
107 |
}
|
108 |
),
|
109 |
datasets.SplitGenerator(
|
110 |
+
name=datasets.Split.TRAIN,
|
111 |
gen_kwargs={
|
112 |
"filepath": downloaded_files["train"]
|
113 |
}
|
114 |
),
|
115 |
datasets.SplitGenerator(
|
116 |
+
name=datasets.Split.VALIDATION,
|
117 |
gen_kwargs={
|
118 |
"filepath": downloaded_files["validation"]
|
119 |
}
|