The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 10 new columns ({'robbery_crime_rate', 'motor_vehicle_theft_crime_rate', 'murder_and_nonnegligent_manslaughter_crime_rate', 'larceny-_theft_crime_rate', 'violent_crime_rate', 'burglary_rate', 'arson1_crime_rate', 'rape_crime_rate', 'aggravated_assault_crime_rate', 'property_crime_rate'})

This happened while the csv dataset builder was generating data using

hf://datasets/jz9981/us_city_crime_data_2024/crime_rate.csv (at revision 379c0a51863988669710e53de53cd518f86fddbf)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              state: string
              city: string
              population: double
              violent_crime: double
              murder_and_nonnegligent_manslaughter: double
              rape: double
              robbery: double
              aggravated_assault: double
              property_crime: double
              burglary: double
              larceny-_theft: double
              motor_vehicle_theft: double
              arson1: double
              lat: double
              lon: double
              violent_crime_rate: double
              murder_and_nonnegligent_manslaughter_crime_rate: double
              rape_crime_rate: double
              robbery_crime_rate: double
              aggravated_assault_crime_rate: double
              larceny-_theft_crime_rate: double
              burglary_rate: double
              motor_vehicle_theft_crime_rate: double
              arson1_crime_rate: double
              property_crime_rate: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3575
              to
              {'state': Value('string'), 'city': Value('string'), 'population': Value('float64'), 'violent_crime': Value('float64'), 'murder_and_nonnegligent_manslaughter': Value('float64'), 'rape': Value('float64'), 'robbery': Value('float64'), 'aggravated_assault': Value('float64'), 'property_crime': Value('float64'), 'burglary': Value('float64'), 'larceny-_theft': Value('float64'), 'motor_vehicle_theft': Value('float64'), 'arson1': Value('float64'), 'lat': Value('float64'), 'lon': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1456, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1055, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 10 new columns ({'robbery_crime_rate', 'motor_vehicle_theft_crime_rate', 'murder_and_nonnegligent_manslaughter_crime_rate', 'larceny-_theft_crime_rate', 'violent_crime_rate', 'burglary_rate', 'arson1_crime_rate', 'rape_crime_rate', 'aggravated_assault_crime_rate', 'property_crime_rate'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/jz9981/us_city_crime_data_2024/crime_rate.csv (at revision 379c0a51863988669710e53de53cd518f86fddbf)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

state
string
city
string
population
float64
violent_crime
float64
murder_and_nonnegligent_manslaughter
float64
rape
float64
robbery
float64
aggravated_assault
float64
property_crime
float64
burglary
float64
larceny-_theft
float64
motor_vehicle_theft
float64
arson1
float64
lat
float64
lon
float64
ALABAMA
Abbeville
2,386
11
0
2
1
8
35
9
25
1
0
-3
77
ALABAMA
Adamsville
4,111
23
1
1
0
21
130
12
97
21
2
55
64
ALABAMA
Addison
669
3
0
0
0
3
13
4
7
2
0
65
-25
ALABAMA
Alabaster
34,349
34
0
1
4
29
519
17
480
22
0
-57
-28
ALABAMA
Albertville
23,242
55
1
14
3
37
409
65
299
45
2
72
21
ALABAMA
Alexander City
14,353
147
4
7
11
125
515
91
398
26
5
-5
-34
ALABAMA
Aliceville
2,019
4
0
0
0
4
11
1
10
0
0
-65
24
ALABAMA
Andalusia
8,838
59
0
7
3
49
324
53
244
27
3
-26
-166
ALABAMA
Anniston
21,052
178
4
16
18
140
919
214
612
93
5
61
-169
ALABAMA
Arab
8,960
23
0
6
1
16
318
74
212
32
1
-54
87
ALABAMA
Ardmore
1,451
2
0
1
0
1
20
4
15
1
0
-89
-109
ALABAMA
Argo
4,388
5
0
0
0
5
15
4
7
4
0
-88
-34
ALABAMA
Arley
330
0
0
0
0
0
8
2
6
0
0
42
76
ALABAMA
Ashford
2,357
2
0
0
0
2
11
0
11
0
0
-12
-143
ALABAMA
Ashland
1,928
15
0
0
0
15
46
7
36
3
0
-21
-111
ALABAMA
Ashville
2,417
12
0
0
2
10
69
17
43
9
0
-46
55
ALABAMA
Athens
32,862
80
2
3
6
69
680
91
531
58
1
-83
168
ALABAMA
Atmore
8,294
113
4
9
11
89
298
38
240
20
2
2
105
ALABAMA
Attalla
5,813
20
0
1
1
18
210
24
170
16
0
69
-85
ALABAMA
Auburn
83,756
90
0
16
8
66
820
33
730
57
1
-23
84
ALABAMA
Bay Minette
8,456
35
2
2
3
28
138
13
115
10
0
10
-11
ALABAMA
Bayou La Batre
2,142
19
0
1
0
18
137
32
92
13
1
26
86
ALABAMA
Bear Creek
1,062
11
0
1
0
10
24
4
8
12
0
17
-3
ALABAMA
Berry
1,183
0
0
0
0
0
1
1
0
0
0
-61
-109
ALABAMA
Bessemer
24,720
431
11
15
40
365
1,761
284
1,252
225
8
49
170
ALABAMA
Birmingham
195,418
2,436
115
29
393
1,899
7,878
1,426
4,873
1,579
103
-3
175
ALABAMA
Blountsville
1,816
0
0
0
0
0
0
0
0
0
0
62
-66
ALABAMA
Brent
2,586
9
0
2
0
7
80
13
62
5
0
-70
-64
ALABAMA
Brewton
5,139
28
0
3
1
24
207
13
176
18
1
66
126
ALABAMA
Bridgeport
2,262
7
0
2
1
4
24
5
13
6
1
35
116
ALABAMA
Brighton
2,207
47
5
1
4
37
52
13
27
12
1
8
4
ALABAMA
Brilliant
829
0
0
0
0
0
8
6
2
0
0
-2
-63
ALABAMA
Brookside
1,185
5
0
0
1
4
26
6
13
7
0
1
0
ALABAMA
Brookwood
2,420
11
0
0
1
10
24
3
16
5
0
-77
171
ALABAMA
Brundidge
2,016
23
0
1
0
22
87
15
63
9
0
81
-51
ALABAMA
Butler
1,737
5
0
0
0
5
34
6
24
4
0
39
12
ALABAMA
Calera
18,747
44
0
4
1
39
249
42
184
23
0
55
-180
ALABAMA
Camden
1,667
3
0
0
1
2
13
3
8
2
0
-17
-102
ALABAMA
Carbon Hill
1,723
0
0
0
0
0
5
2
2
1
1
68
175
ALABAMA
Carrollton
965
4
0
0
0
4
4
1
3
0
0
-44
-59
ALABAMA
Cedar Bluff
1,918
8
0
1
0
7
17
1
14
2
0
-7
-102
ALABAMA
Centre
3,845
15
0
5
0
10
129
19
101
9
0
65
-132
ALABAMA
Centreville
2,673
10
0
1
0
9
32
6
22
4
1
29
24
ALABAMA
Chatom
1,060
0
0
0
0
0
9
1
8
0
0
-2
-61
ALABAMA
Cherokee
964
0
0
0
0
0
18
3
13
2
1
-36
-17
ALABAMA
Chickasaw
6,226
27
1
0
2
24
134
21
97
16
1
53
101
ALABAMA
Childersburg
4,601
35
0
4
1
30
120
23
86
11
0
26
-59
ALABAMA
Citronelle
3,902
3
0
0
1
2
31
5
24
2
0
49
122
ALABAMA
Clanton
9,250
29
0
2
3
24
306
16
278
12
0
72
77
ALABAMA
Clayton
2,197
9
0
0
0
9
20
5
15
0
1
6
161
ALABAMA
Clio
1,194
0
0
0
0
0
0
0
0
0
0
17
113
ALABAMA
Coaling
1,970
3
0
1
0
2
17
4
12
1
0
-85
50
ALABAMA
Coffeeville
247
0
0
0
0
0
0
0
0
0
0
52
-134
ALABAMA
Collinsville
2,067
3
0
0
0
3
22
0
19
3
0
44
136
ALABAMA
Columbia
703
0
0
0
0
0
5
0
5
0
0
-28
-174
ALABAMA
Columbiana
4,913
7
1
2
0
4
51
7
42
2
0
-57
167
ALABAMA
Coosada
1,282
4
0
0
0
4
8
2
4
2
0
-17
-162
ALABAMA
Cordova
1,656
8
0
0
1
7
51
4
38
9
0
-73
-9
ALABAMA
Cottonwood
1,097
3
0
0
0
3
13
3
10
0
0
0
82
ALABAMA
Creola
1,977
5
0
1
2
2
11
1
6
4
0
-54
-139
ALABAMA
Cullman
20,433
44
3
6
2
33
504
36
436
32
0
21
177
ALABAMA
Dadeville
2,922
17
0
0
1
16
50
5
42
3
0
47
-81
ALABAMA
Daphne
31,256
17
0
4
2
11
264
14
235
15
0
6
109
ALABAMA
Dauphin Island
1,932
2
0
1
1
0
27
5
20
2
0
5
42
ALABAMA
Decatur
58,514
355
5
32
26
292
1,351
113
1,073
165
112
-1
71
ALABAMA
Demopolis
6,733
65
1
5
5
54
183
29
145
9
3
27
-8
ALABAMA
Dora
2,244
5
0
0
0
5
53
9
34
10
1
-13
-34
ALABAMA
Dothan
71,318
651
5
49
38
559
1,972
260
1,618
94
17
-2
-54
ALABAMA
Double Springs
1,115
1
0
0
0
1
19
4
12
3
0
-66
-27
ALABAMA
Douglas
789
2
0
0
0
2
12
3
9
0
1
6
-126
ALABAMA
East Brewton
2,239
4
0
1
0
3
57
7
44
6
0
-23
157
ALABAMA
Eclectic
1,214
2
0
0
0
2
20
5
14
1
0
62
122
ALABAMA
Elba
3,547
16
2
1
3
10
108
20
78
10
1
-68
59
ALABAMA
Elberta
2,145
11
0
0
1
10
64
10
52
2
0
67
-114
ALABAMA
Enterprise
30,766
192
1
16
5
170
732
109
577
46
3
-45
-65
ALABAMA
Eufaula
12,314
89
7
5
10
67
317
59
225
33
4
14
47
ALABAMA
Eutaw
2,710
16
0
0
2
14
75
20
47
8
0
-70
70
ALABAMA
Excel
524
8
0
3
0
5
24
5
16
3
1
-1
164
ALABAMA
Fairhope
25,782
28
0
6
4
18
297
21
267
9
1
-44
-13
ALABAMA
Falkville
1,198
2
0
0
0
2
11
0
8
3
0
-23
28
ALABAMA
Fayette
4,079
6
0
1
2
3
53
15
36
2
0
47
-70
ALABAMA
Flomaton
1,448
16
1
0
1
14
34
4
27
3
0
-4
12
ALABAMA
Florence
43,076
271
0
16
9
246
869
100
698
71
2
34
-112
ALABAMA
Foley
26,424
51
1
0
7
43
404
31
340
33
0
86
108
ALABAMA
Fort Payne
14,984
24
0
3
0
21
242
43
179
20
0
24
77
ALABAMA
Frisco City
1,110
5
1
0
0
4
4
2
2
0
0
-26
9
ALABAMA
Fultondale
9,533
28
0
5
6
17
259
63
171
25
1
-71
16
ALABAMA
Fyffe
983
0
0
0
0
0
5
0
3
2
0
-13
-172
ALABAMA
Gadsden
33,015
192
4
4
16
168
851
97
682
72
4
85
31
ALABAMA
Gantt
204
2
1
0
0
1
6
1
5
0
0
-5
127
ALABAMA
Gardendale
16,131
31
0
0
1
30
257
19
211
27
2
70
-58
ALABAMA
Georgiana
1,257
3
0
0
0
3
22
4
17
1
0
22
58
ALABAMA
Geraldine
914
2
0
0
0
2
14
4
10
0
0
-86
62
ALABAMA
Gilbertown
707
2
0
0
0
2
6
2
3
1
0
-28
-58
ALABAMA
Goodwater
1,245
2
0
0
0
2
14
2
8
4
0
-85
146
ALABAMA
Gordon
298
1
0
0
0
1
5
1
4
0
0
85
-65
ALABAMA
Grant
1,063
2
0
0
0
2
33
7
20
6
0
-9
23
ALABAMA
Greenville
6,923
40
0
1
5
34
266
39
199
28
0
-11
122
ALABAMA
Grove Hill
1,719
3
0
0
1
2
20
6
12
2
0
20
-47
ALABAMA
Guin
2,134
9
1
0
1
7
40
8
27
5
0
59
-41
End of preview.