Dataset Preview
Duplicate
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 ({'Y', 'MINUTE', 'Latitude', 'Date', 'NEIGHBOURHOOD', 'Longitude', 'HOUR', 'HUNDRED_BLOCK', 'DAY', 'X'}) and 1 missing columns ({'Incident_Counts'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Abdullah4747/FBI_Train/Train.csv (at revision fc313a740a2cd79fea14ff23c3de11c384ad587d)

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 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, 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 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              TYPE: string
              HUNDRED_BLOCK: string
              NEIGHBOURHOOD: string
              X: double
              Y: double
              Latitude: double
              Longitude: double
              HOUR: double
              MINUTE: double
              YEAR: int64
              MONTH: int64
              DAY: int64
              Date: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1710
              to
              {'YEAR': Value(dtype='int64', id=None), 'MONTH': Value(dtype='int64', id=None), 'TYPE': Value(dtype='string', id=None), 'Incident_Counts': Value(dtype='float64', id=None)}
              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 1436, 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 1053, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, 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 1742, 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 1873, 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 ({'Y', 'MINUTE', 'Latitude', 'Date', 'NEIGHBOURHOOD', 'Longitude', 'HOUR', 'HUNDRED_BLOCK', 'DAY', 'X'}) and 1 missing columns ({'Incident_Counts'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Abdullah4747/FBI_Train/Train.csv (at revision fc313a740a2cd79fea14ff23c3de11c384ad587d)
              
              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.

YEAR
int64
MONTH
int64
TYPE
string
Incident_Counts
null
2,013
6
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,013
6
Theft of Vehicle
null
2,013
6
Theft of Bicycle
null
2,013
6
Theft from Vehicle
null
2,013
6
Other Theft
null
2,013
6
Offence Against a Person
null
2,013
6
Mischief
null
2,013
6
Break and Enter Residential/Other
null
2,013
6
Break and Enter Commercial
null
2,013
5
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,013
5
Theft of Vehicle
null
2,013
5
Theft of Bicycle
null
2,013
5
Theft from Vehicle
null
2,013
5
Other Theft
null
2,013
5
Offence Against a Person
null
2,013
5
Mischief
null
2,013
5
Break and Enter Residential/Other
null
2,013
5
Break and Enter Commercial
null
2,013
4
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,013
4
Theft of Vehicle
null
2,013
4
Theft of Bicycle
null
2,013
4
Theft from Vehicle
null
2,013
4
Other Theft
null
2,013
4
Offence Against a Person
null
2,013
4
Mischief
null
2,013
4
Break and Enter Residential/Other
null
2,013
4
Break and Enter Commercial
null
2,013
3
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,013
3
Theft of Vehicle
null
2,013
3
Theft of Bicycle
null
2,013
3
Theft from Vehicle
null
2,013
3
Other Theft
null
2,013
3
Offence Against a Person
null
2,013
3
Mischief
null
2,013
3
Break and Enter Residential/Other
null
2,013
3
Break and Enter Commercial
null
2,013
2
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,013
2
Theft of Vehicle
null
2,013
2
Theft of Bicycle
null
2,013
2
Theft from Vehicle
null
2,013
2
Other Theft
null
2,013
2
Offence Against a Person
null
2,013
2
Mischief
null
2,013
2
Break and Enter Residential/Other
null
2,013
2
Break and Enter Commercial
null
2,013
1
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,013
1
Theft of Vehicle
null
2,013
1
Theft of Bicycle
null
2,013
1
Theft from Vehicle
null
2,013
1
Other Theft
null
2,013
1
Offence Against a Person
null
2,013
1
Mischief
null
2,013
1
Break and Enter Residential/Other
null
2,013
1
Break and Enter Commercial
null
2,012
12
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,012
12
Theft of Vehicle
null
2,012
12
Theft of Bicycle
null
2,012
12
Theft from Vehicle
null
2,012
12
Other Theft
null
2,012
12
Offence Against a Person
null
2,012
12
Mischief
null
2,012
12
Break and Enter Residential/Other
null
2,012
12
Break and Enter Commercial
null
2,012
11
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,012
11
Theft of Vehicle
null
2,012
11
Theft of Bicycle
null
2,012
11
Theft from Vehicle
null
2,012
11
Other Theft
null
2,012
11
Offence Against a Person
null
2,012
11
Mischief
null
2,012
11
Break and Enter Residential/Other
null
2,012
11
Break and Enter Commercial
null
2,012
10
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,012
10
Theft of Vehicle
null
2,012
10
Theft of Bicycle
null
2,012
10
Theft from Vehicle
null
2,012
10
Other Theft
null
2,012
10
Offence Against a Person
null
2,012
10
Mischief
null
2,012
10
Break and Enter Residential/Other
null
2,012
10
Break and Enter Commercial
null
2,012
9
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,012
9
Theft of Vehicle
null
2,012
9
Theft of Bicycle
null
2,012
9
Theft from Vehicle
null
2,012
9
Other Theft
null
2,012
9
Offence Against a Person
null
2,012
9
Mischief
null
2,012
9
Break and Enter Residential/Other
null
2,012
9
Break and Enter Commercial
null
2,012
8
Vehicle Collision or Pedestrian Struck (with Injury)
null
2,012
8
Theft of Vehicle
null
2,012
8
Theft of Bicycle
null
2,012
8
Theft from Vehicle
null
2,012
8
Other Theft
null
2,012
8
Offence Against a Person
null
2,012
8
Mischief
null
2,012
8
Break and Enter Residential/Other
null
2,012
8
Break and Enter Commercial
null
2,012
7
Vehicle Collision or Pedestrian Struck (with Injury)
null
End of preview.

No dataset card yet

Downloads last month
3