Dataset Preview
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 2 new columns ({'Male', 'Female'}) and 2 missing columns ({'Age_Group', 'Road_Accident_Deaths'}).

This happened while the csv dataset builder was generating data using

hf://datasets/johnwick0p/RTAdataset/gender.csv (at revision 50ad0cf8a94e1b4b5bd0c335576c7c9a07ca3929)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Year: int64
              Male: double
              Female: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 587
              to
              {'Year': Value(dtype='int64', id=None), 'Age_Group': Value(dtype='string', id=None), 'Road_Accident_Deaths': Value(dtype='int64', 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 1321, 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 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 2 new columns ({'Male', 'Female'}) and 2 missing columns ({'Age_Group', 'Road_Accident_Deaths'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/johnwick0p/RTAdataset/gender.csv (at revision 50ad0cf8a94e1b4b5bd0c335576c7c9a07ca3929)
              
              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
Age_Group
string
Road_Accident_Deaths
int64
2,009
0-14
13,006
2,009
15-24
29,109
2,009
25-34
29,220
2,009
35-44
20,776
2,009
45-54
11,918
2,009
55-64
6,398
2,009
65+
2,605
2,010
0-14
13,372
2,010
15-24
28,526
2,010
25-34
29,064
2,010
35-44
21,338
2,010
45-54
12,031
2,010
55-64
6,634
2,010
65+
2,781
2,011
0-14
14,059
2,011
15-24
28,832
2,011
25-34
30,160
2,011
35-44
22,095
2,011
45-54
12,298
2,011
55-64
6,621
2,011
65+
2,778
2,012
0-14
14,449
2,012
15-24
29,249
2,012
25-34
30,745
2,012
35-44
22,854
2,012
45-54
12,543
2,012
55-64
6,878
2,012
65+
2,973
2,013
0-14
14,209
2,013
15-24
28,537
2,013
25-34
30,396
2,013
35-44
22,284
2,013
45-54
12,241
2,013
55-64
6,520
2,013
65+
2,797
2,014
0-14
14,022
2,014
15-24
28,043
2,014
25-34
30,159
2,014
35-44
22,017
2,014
45-54
12,305
2,014
55-64
6,677
2,014
65+
2,834
2,015
0-14
14,201
2,015
15-24
27,361
2,015
25-34
29,795
2,015
35-44
21,829
2,015
45-54
12,193
2,015
55-64
6,407
2,015
65+
2,761
2,016
0-14
13,894
2,016
15-24
27,862
2,016
25-34
30,287
2,016
35-44
22,367
2,016
45-54
12,537
2,016
55-64
6,643
2,016
65+
2,817
2,017
0-14
17,436
2,017
15-24
34,106
2,017
25-34
36,545
2,017
35-44
25,510
2,017
45-54
14,409
2,017
55-64
7,765
2,017
65+
3,333
2,018
0-14
8,023
2,018
15-24
25,172
2,018
25-34
33,860
2,018
35-44
25,052
2,018
45-54
13,627
2,018
55-64
6,867
2,018
65+
3,103
2,019
0-14
7,674
2,019
15-24
23,855
2,019
25-34
31,795
2,019
35-44
24,157
2,019
45-54
13,104
2,019
55-64
6,573
2,019
65+
2,948
2,020
0-14
6,810
2,020
15-24
20,887
2,020
25-34
26,813
2,020
35-44
20,223
2,020
45-54
11,138
2,020
55-64
5,487
2,020
65+
2,308
2,010
null
null
2,011
null
null
2,012
null
null
2,013
null
null
2,014
null
null
2,015
null
null
2,016
null
null
2,017
null
null
2,018
null
null
2,019
null
null
2,020
null
null
2,021
null
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview.
README.md exists but content is empty.
Downloads last month
32