Update NC_Crime.py
Browse files- NC_Crime.py +2 -2
NC_Crime.py
CHANGED
@@ -86,10 +86,10 @@ class NCCrimeDataset(datasets.GeneratorBasedBuilder):
|
|
86 |
"https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC.csv.zip"
|
87 |
|
88 |
)
|
89 |
-
unzipped_file_path = os.path.join(downloaded_file_path, "NC.csv")
|
90 |
# Return a list of split generators
|
91 |
return [
|
92 |
-
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath":
|
93 |
]
|
94 |
|
95 |
|
|
|
86 |
"https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC.csv.zip"
|
87 |
|
88 |
)
|
89 |
+
# unzipped_file_path = os.path.join(downloaded_file_path, "NC.csv")
|
90 |
# Return a list of split generators
|
91 |
return [
|
92 |
+
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_file_path})
|
93 |
]
|
94 |
|
95 |
|