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 43 new columns ({'usa_industry', 'subs_work', 'relationship_head', 'usa_status', 'usa_enterprise_strength', 'usa_location', 'earn_lmonth', 'enterprise_type', 'd7a2_wage', 'paidleave', 'status', 'usa_socialsecurity', 'd7a1_wage', 'cws_occupation', 'age', 'marital_status', 'usa_occupation', 'usa_enterprise_type', 'd7a1_status', 'occupation', 'usa_paidleave', 'socialsecurity', 'contract_type', 'd7a1_hrsworked', 'enterprise_strength', 'general_educ', 'cws', 'technical_educ', 'location', 'educ', 'voc_educ', 'd7a2_status', 'sex', 'educ_current', 'usa_contract_type', 'd7_addlhrs', 'd7a1_industry', 'd7a2_hrsworked', 'd7_hrsworked', 'd7a2_industry', 'industry', 'cws_industry', 'earn_l30d'}) and 8 missing columns ({'state', 'religion', 'district', 'hhsize', 'sector', 'expenditure', 'group', 'hh_code'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Aharneish/toclaude/Labour2_coded.csv (at revision 3af44ee06e3f365ac1317398b3e1bc4a3ce439c3)
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
person_code: int64
relationship_head: int64
sex: int64
age: int64
marital_status: int64
general_educ: double
technical_educ: int64
educ: int64
educ_current: double
voc_educ: double
status: int64
industry: double
occupation: double
subs_work: int64
location: double
enterprise_type: double
enterprise_strength: double
contract_type: double
paidleave: double
socialsecurity: double
usa_status: int64
usa_industry: double
usa_occupation: double
usa_location: double
usa_enterprise_type: double
usa_enterprise_strength: double
usa_contract_type: double
usa_paidleave: double
usa_socialsecurity: double
d7a1_status: int64
d7a1_industry: double
d7a1_hrsworked: int64
d7a1_wage: int64
d7a2_status: double
d7a2_industry: double
d7a2_hrsworked: int64
d7a2_wage: int64
d7_hrsworked: int64
d7_addlhrs: int64
cws: int64
cws_industry: double
cws_occupation: double
earn_lmonth: int64
earn_l30d: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 5651
to
{'state': Value('int64'), 'district': Value('int64'), 'sector': Value('int64'), 'hh_code': Value('int64'), 'hhsize': Value('int64'), 'religion': Value('int64'), 'group': Value('int64'), 'expenditure': Value('int64'), 'person_code': Value('int64')}
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 43 new columns ({'usa_industry', 'subs_work', 'relationship_head', 'usa_status', 'usa_enterprise_strength', 'usa_location', 'earn_lmonth', 'enterprise_type', 'd7a2_wage', 'paidleave', 'status', 'usa_socialsecurity', 'd7a1_wage', 'cws_occupation', 'age', 'marital_status', 'usa_occupation', 'usa_enterprise_type', 'd7a1_status', 'occupation', 'usa_paidleave', 'socialsecurity', 'contract_type', 'd7a1_hrsworked', 'enterprise_strength', 'general_educ', 'cws', 'technical_educ', 'location', 'educ', 'voc_educ', 'd7a2_status', 'sex', 'educ_current', 'usa_contract_type', 'd7_addlhrs', 'd7a1_industry', 'd7a2_hrsworked', 'd7_hrsworked', 'd7a2_industry', 'industry', 'cws_industry', 'earn_l30d'}) and 8 missing columns ({'state', 'religion', 'district', 'hhsize', 'sector', 'expenditure', 'group', 'hh_code'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Aharneish/toclaude/Labour2_coded.csv (at revision 3af44ee06e3f365ac1317398b3e1bc4a3ce439c3)
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 int64 | district int64 | sector int64 | hh_code int64 | hhsize int64 | religion int64 | group int64 | expenditure int64 | person_code int64 |
|---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | 6 | 2 | 9 | 5,500 | 1 |
1 | 1 | 1 | 1 | 6 | 2 | 9 | 5,500 | 2 |
1 | 1 | 1 | 1 | 6 | 2 | 9 | 5,500 | 3 |
1 | 1 | 1 | 1 | 6 | 2 | 9 | 5,500 | 4 |
1 | 1 | 1 | 1 | 6 | 2 | 9 | 5,500 | 5 |
1 | 1 | 1 | 1 | 6 | 2 | 9 | 5,500 | 6 |
1 | 1 | 1 | 2 | 3 | 2 | 9 | 2,500 | 7 |
1 | 1 | 1 | 2 | 3 | 2 | 9 | 2,500 | 8 |
1 | 1 | 1 | 2 | 3 | 2 | 9 | 2,500 | 9 |
1 | 1 | 1 | 3 |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 | 5 | 2 | 9 | 3,500 | 37 |
1 | 1 | 1 | 9 | 5 | 2 | 9 | 3,500 | 38 |
1 | 1 | 1 | 9 | 5 | 2 | 9 | 3,500 | 39 |
1 | 1 | 1 | 10 | 5 | 2 | 9 | 4,500 | 40 |
1 | 1 | 1 | 10 | 5 | 2 | 9 | 4,500 | 41 |
1 | 1 | 1 | 10 | 5 | 2 | 9 | 4,500 | 42 |
1 | 1 | 1 | 10 | 5 | 2 | 9 | 4,500 | 43 |
1 | 1 | 1 | 10 | 5 | 2 | 9 | 4,500 | 44 |
1 | 1 | 1 | 11 | 5 | 2 | 9 | 4,300 | 45 |
1 | 1 | 1 | 11 | 5 | 2 | 9 | 4,300 | 46 |
1 | 1 | 1 | 11 | 5 | 2 | 9 | 4,300 | 47 |
1 | 1 | 1 | 11 | 5 | 2 | 9 | 4,300 | 48 |
1 | 1 | 1 | 11 | 5 | 2 | 9 | 4,300 | 49 |
1 | 1 | 1 | 12 | 4 | 2 | 9 | 4,000 | 50 |
1 | 1 | 1 | 12 | 4 | 2 | 9 | 4,000 | 51 |
1 | 1 | 1 | 12 | 4 | 2 | 9 | 4,000 | 52 |
1 | 1 | 1 | 12 | 4 | 2 | 9 | 4,000 | 53 |
1 | 1 | 1 | 13 | 3 | 2 | 9 | 2,500 | 54 |
1 | 1 | 1 | 13 | 3 | 2 | 9 | 2,500 | 55 |
1 | 1 | 1 | 13 | 3 | 2 | 9 | 2,500 | 56 |
1 | 1 | 1 | 14 | 3 | 2 | 9 | 2,300 | 57 |
1 | 1 | 1 | 14 | 3 | 2 | 9 | 2,300 | 58 |
1 | 1 | 1 | 14 | 3 | 2 | 9 | 2,300 | 59 |
1 | 1 | 1 | 15 | 5 | 2 | 9 | 4,500 | 60 |
1 | 1 | 1 | 15 | 5 | 2 | 9 | 4,500 | 61 |
1 | 1 | 1 | 15 | 5 | 2 | 9 | 4,500 | 62 |
1 | 1 | 1 | 15 | 5 | 2 | 9 | 4,500 | 63 |
1 | 1 | 1 | 15 | 5 | 2 | 9 | 4,500 | 64 |
1 | 1 | 1 | 16 | 4 | 2 | 9 | 3,500 | 65 |
1 | 1 | 1 | 16 | 4 | 2 | 9 | 3,500 | 66 |
1 | 1 | 1 | 16 | 4 | 2 | 9 | 3,500 | 67 |
1 | 1 | 1 | 16 | 4 | 2 | 9 | 3,500 | 68 |
1 | 1 | 2 | 17 | 5 | 2 | 9 | 5,600 | 69 |
1 | 1 | 2 | 17 | 5 | 2 | 9 | 5,600 | 70 |
1 | 1 | 2 | 17 | 5 | 2 | 9 | 5,600 | 71 |
1 | 1 | 2 | 17 | 5 | 2 | 9 | 5,600 | 72 |
1 | 1 | 2 | 17 | 5 | 2 | 9 | 5,600 | 73 |
1 | 1 | 2 | 18 | 5 | 2 | 9 | 6,100 | 74 |
1 | 1 | 2 | 18 | 5 | 2 | 9 | 6,100 | 75 |
1 | 1 | 2 | 18 | 5 | 2 | 9 | 6,100 | 76 |
1 | 1 | 2 | 18 | 5 | 2 | 9 | 6,100 | 77 |
1 | 1 | 2 | 18 | 5 | 2 | 9 | 6,100 | 78 |
1 | 1 | 2 | 19 | 5 | 2 | 9 | 3,500 | 79 |
1 | 1 | 2 | 19 | 5 | 2 | 9 | 3,500 | 80 |
1 | 1 | 2 | 19 | 5 | 2 | 9 | 3,500 | 81 |
1 | 1 | 2 | 19 | 5 | 2 | 9 | 3,500 | 82 |
1 | 1 | 2 | 19 | 5 | 2 | 9 | 3,500 | 83 |
1 | 1 | 2 | 20 | 5 | 2 | 9 | 4,500 | 84 |
1 | 1 | 2 | 20 | 5 | 2 | 9 | 4,500 | 85 |
1 | 1 | 2 | 20 | 5 | 2 | 9 | 4,500 | 86 |
1 | 1 | 2 | 20 | 5 | 2 | 9 | 4,500 | 87 |
1 | 1 | 2 | 20 | 5 | 2 | 9 | 4,500 | 88 |
1 | 1 | 2 | 21 | 6 | 2 | 9 | 4,500 | 89 |
1 | 1 | 2 | 21 | 6 | 2 | 9 | 4,500 | 90 |
1 | 1 | 2 | 21 | 6 | 2 | 9 | 4,500 | 91 |
1 | 1 | 2 | 21 | 6 | 2 | 9 | 4,500 | 92 |
1 | 1 | 2 | 21 | 6 | 2 | 9 | 4,500 | 93 |
1 | 1 | 2 | 21 | 6 | 2 | 9 | 4,500 | 94 |
1 | 1 | 2 | 22 | 5 | 2 | 9 | 5,400 | 95 |
1 | 1 | 2 | 22 | 5 | 2 | 9 | 5,400 | 96 |
1 | 1 | 2 | 22 | 5 | 2 | 9 | 5,400 | 97 |
1 | 1 | 2 | 22 | 5 | 2 | 9 | 5,400 | 98 |
1 | 1 | 2 | 22 | 5 | 2 | 9 | 5,400 | 99 |
1 | 1 | 2 | 23 | 4 | 2 | 9 | 4,200 | 100 |
End of preview.
No dataset card yet
- Downloads last month
- 15