Update NC_Crime.py
Browse files- NC_Crime.py +3 -3
NC_Crime.py
CHANGED
@@ -89,11 +89,11 @@ class NCCrimeDataset(datasets.GeneratorBasedBuilder):
|
|
89 |
#"https://drive.google.com/uc?export=download&id=1Se-B8Y-SdU0caZzGJyX_0YW44TZwaq3l"
|
90 |
|
91 |
# "https://raw.githubusercontent.com/znw2024/NC-Crime/main/DCCR.csv"
|
92 |
-
|
93 |
-
"https://
|
94 |
|
95 |
)
|
96 |
-
unzipped_file_path = os.path.join(downloaded_file_path, "
|
97 |
# Return a list of split generators
|
98 |
return [
|
99 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": unzipped_file_path})
|
|
|
89 |
#"https://drive.google.com/uc?export=download&id=1Se-B8Y-SdU0caZzGJyX_0YW44TZwaq3l"
|
90 |
|
91 |
# "https://raw.githubusercontent.com/znw2024/NC-Crime/main/DCCR.csv"
|
92 |
+
"https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/DCCR.csv.zip"
|
93 |
+
# "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC_dataset.csv.zip"
|
94 |
|
95 |
)
|
96 |
+
unzipped_file_path = os.path.join(downloaded_file_path, "DCCR.csv")
|
97 |
# Return a list of split generators
|
98 |
return [
|
99 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": unzipped_file_path})
|