hollyyfc commited on
Commit
16cd42b
1 Parent(s): bda467e

Update tidytuesday_for_python.py

Browse files
Files changed (1) hide show
  1. tidytuesday_for_python.py +3 -3
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=datasets.Split.TRAIN,
105
  gen_kwargs={
106
  "filepath": downloaded_files["full"]
107
  }
108
  ),
109
  datasets.SplitGenerator(
110
- name=datasets.Split.VALIDATION,
111
  gen_kwargs={
112
  "filepath": downloaded_files["train"]
113
  }
114
  ),
115
  datasets.SplitGenerator(
116
- name=datasets.Split.TEST,
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
  }