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 ({'nested', 'test'}) and 2 missing columns ({'value', 'id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/CollateralAnalytics/pawn-strategy-dataset/nested/extra.csv (at revision 4aa643c1120ea74881b70625422aa7b4ebe852ec), [/tmp/hf-datasets-cache/medium/datasets/55707113501969-config-parquet-and-info-CollateralAnalytics-pawn--bd452209/hub/datasets--CollateralAnalytics--pawn-strategy-dataset/snapshots/4aa643c1120ea74881b70625422aa7b4ebe852ec/data.csv (origin=hf://datasets/CollateralAnalytics/pawn-strategy-dataset@4aa643c1120ea74881b70625422aa7b4ebe852ec/data.csv), /tmp/hf-datasets-cache/medium/datasets/55707113501969-config-parquet-and-info-CollateralAnalytics-pawn--bd452209/hub/datasets--CollateralAnalytics--pawn-strategy-dataset/snapshots/4aa643c1120ea74881b70625422aa7b4ebe852ec/nested/extra.csv (origin=hf://datasets/CollateralAnalytics/pawn-strategy-dataset@4aa643c1120ea74881b70625422aa7b4ebe852ec/nested/extra.csv)]
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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1893, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2281, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2227, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
nested: null
test: null
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 475
to
{'id': Value('int64'), 'value': Value('string')}
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 1347, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1895, 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 ({'nested', 'test'}) and 2 missing columns ({'value', 'id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/CollateralAnalytics/pawn-strategy-dataset/nested/extra.csv (at revision 4aa643c1120ea74881b70625422aa7b4ebe852ec), [/tmp/hf-datasets-cache/medium/datasets/55707113501969-config-parquet-and-info-CollateralAnalytics-pawn--bd452209/hub/datasets--CollateralAnalytics--pawn-strategy-dataset/snapshots/4aa643c1120ea74881b70625422aa7b4ebe852ec/data.csv (origin=hf://datasets/CollateralAnalytics/pawn-strategy-dataset@4aa643c1120ea74881b70625422aa7b4ebe852ec/data.csv), /tmp/hf-datasets-cache/medium/datasets/55707113501969-config-parquet-and-info-CollateralAnalytics-pawn--bd452209/hub/datasets--CollateralAnalytics--pawn-strategy-dataset/snapshots/4aa643c1120ea74881b70625422aa7b4ebe852ec/nested/extra.csv (origin=hf://datasets/CollateralAnalytics/pawn-strategy-dataset@4aa643c1120ea74881b70625422aa7b4ebe852ec/nested/extra.csv)]
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.
id int64 | value string |
|---|---|
1 | test |
2 | hello |
- Downloads last month
- 43