Update NC_Crime.py
Browse files- NC_Crime.py +3 -1
NC_Crime.py
CHANGED
@@ -80,7 +80,9 @@ class NCCrimeDataset(datasets.GeneratorBasedBuilder):
|
|
80 |
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
81 |
# Use the raw GitHub link to download the CSV file
|
82 |
downloaded_file_path = dl_manager.download_and_extract(
|
83 |
-
"https://raw.githubusercontent.com/znw2024/NC-Crime/main/
|
|
|
|
|
84 |
|
85 |
# Return a list of split generators
|
86 |
return [
|
|
|
80 |
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
81 |
# Use the raw GitHub link to download the CSV file
|
82 |
downloaded_file_path = dl_manager.download_and_extract(
|
83 |
+
"https://raw.githubusercontent.com/znw2024/NC-Crime/main/DCCR.csv"
|
84 |
+
# "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/CC.csv"
|
85 |
+
)
|
86 |
|
87 |
# Return a list of split generators
|
88 |
return [
|