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 7 new columns ({'bmi', 'smoker', 'expenses', 'sex', 'age', 'region', 'children'}) and 7 missing columns ({'margin_low', 'diagonal', 'length', 'height_right', 'is_genuine', 'margin_up', 'height_left'}).
This happened while the csv dataset builder was generating data using
hf://datasets/quinnlue/egen491/insurance.csv (at revision aa043fd028010f295ec5a13b4d38d152adfe0ec9), [/tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/fake_bills.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/fake_bills.csv), /tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/insurance.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/insurance.csv), /tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/mental_health_social_media_dataset.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/mental_health_social_media_dataset.csv), /tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/sent_analysis.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/sent_analysis.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 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
age: int64
sex: string
bmi: double
children: int64
smoker: string
region: string
expenses: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1032
to
{'is_genuine': Value('bool'), 'diagonal': Value('float64'), 'height_left': Value('float64'), 'height_right': Value('float64'), 'margin_low': Value('float64'), 'margin_up': Value('float64'), 'length': 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 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 1736, 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 1889, 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 7 new columns ({'bmi', 'smoker', 'expenses', 'sex', 'age', 'region', 'children'}) and 7 missing columns ({'margin_low', 'diagonal', 'length', 'height_right', 'is_genuine', 'margin_up', 'height_left'}).
This happened while the csv dataset builder was generating data using
hf://datasets/quinnlue/egen491/insurance.csv (at revision aa043fd028010f295ec5a13b4d38d152adfe0ec9), [/tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/fake_bills.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/fake_bills.csv), /tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/insurance.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/insurance.csv), /tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/mental_health_social_media_dataset.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/mental_health_social_media_dataset.csv), /tmp/hf-datasets-cache/medium/datasets/94380239907831-config-parquet-and-info-quinnlue-egen491-bed2a4f5/hub/datasets--quinnlue--egen491/snapshots/aa043fd028010f295ec5a13b4d38d152adfe0ec9/sent_analysis.csv (origin=hf://datasets/quinnlue/egen491@aa043fd028010f295ec5a13b4d38d152adfe0ec9/sent_analysis.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.
is_genuine bool | diagonal float64 | height_left float64 | height_right float64 | margin_low float64 | margin_up float64 | length float64 |
|---|---|---|---|---|---|---|
true | 171.81 | 104.86 | 104.95 | 4.52 | 2.89 | 112.83 |
true | 171.46 | 103.36 | 103.66 | 3.77 | 2.99 | 113.09 |
true | 172.69 | 104.48 | 103.5 | 4.4 | 2.94 | 113.16 |
true | 171.36 | 103.91 | 103.94 | 3.62 | 3.01 | 113.51 |
true | 171.73 | 104.28 | 103.46 | 4.04 | 3.48 | 112.54 |
true | 172.17 | 103.74 | 104.08 | 4.42 | 2.95 | 112.81 |
true | 172.34 | 104.18 | 103.85 | 4.58 | 3.26 | 112.81 |
true | 171.88 | 103.76 | 104.08 | 3.98 | 2.92 | 113.08 |
true | 172.47 | 103.92 | 103.67 | 4 | 3.25 | 112.85 |
true | 172.47 | 104.07 | 104.02 | 4.04 | 3.25 | 113.45 |
true | 171.83 | 104.14 | 103.62 | 3.16 | 3.18 | 113.22 |
true | 171.84 | 104.59 | 104 | 3.88 | 3.27 | 113.08 |
true | 171.89 | 103.89 | 103.4 | 4.11 | 2.96 | 113.24 |
true | 172.2 | 104.35 | 103.67 | 4.44 | 3.38 | 113.65 |
true | 172.06 | 103.87 | 103.83 | 4.09 | 2.92 | 113.19 |
true | 171.73 | 103.92 | 103.74 | 4.43 | 2.78 | 112.98 |
true | 171.3 | 104.19 | 103.7 | 4.12 | 2.82 | 112.87 |
true | 171.88 | 104.47 | 103.45 | 4.56 | 3.33 | 113.01 |
true | 172.47 | 103.89 | 104.14 | 3.74 | 3.28 | 113.47 |
true | 171.9 | 103.67 | 103.15 | 4.55 | 3.15 | 113.12 |
true | 171.87 | 103.91 | 103.96 | 3.74 | 2.97 | 113.59 |
true | 171.82 | 103.65 | 103.64 | 4.25 | 2.8 | 112.57 |
true | 172.1 | 103.96 | 103.71 | 3.93 | 2.89 | 112.68 |
true | 172.56 | 103.85 | 103.62 | 3.32 | 3.13 | 113.37 |
true | 172.22 | 103.75 | 103.89 | 4.18 | 3.19 | 113.34 |
true | 172.09 | 103.63 | 103.33 | 4.32 | 2.88 | 113.46 |
true | 171.83 | 103.44 | 103.7 | 4.15 | 3.1 | 113.47 |
true | 171.88 | 103.92 | 103.74 | 4.02 | 3.17 | 113.76 |
true | 172.02 | 104.18 | 104.16 | 3.97 | 3.23 | 113.64 |
true | 171.58 | 103.59 | 103.79 | 4.1 | 2.92 | 113.56 |
true | 171.71 | 103.95 | 103.97 | 4 | 2.83 | 113.55 |
true | 171.98 | 104.33 | 103.61 | 3.68 | 3.14 | 113.41 |
true | 171.99 | 103.79 | 103.9 | 4.62 | 2.9 | 112.92 |
true | 171.85 | 104.1 | 103.88 | 4.13 | 2.93 | 112.93 |
true | 172.29 | 103.61 | 104.44 | 4.54 | 2.69 | 113.48 |
true | 172.01 | 103.81 | 103.65 | 4.36 | 3.03 | 113.26 |
true | 171.8 | 104.28 | 104.06 | 4.47 | 3.29 | 113.93 |
true | 171.73 | 104.1 | 104.19 | 3.39 | 3.19 | 112.79 |
true | 172 | 103.76 | 104.27 | 4.42 | 3.29 | 112.67 |
true | 172.28 | 104.11 | 104.19 | 3.93 | 3.08 | 113.51 |
true | 172.44 | 103.96 | 104.55 | 3.73 | 2.86 | 113.16 |
true | 172.08 | 104.19 | 103.82 | 3.99 | 3.21 | 113.2 |
true | 172.1 | 103.73 | 103.33 | 3.72 | 3.02 | 113.5 |
true | 172.4 | 103.41 | 103.85 | 4.01 | 3.15 | 113.45 |
true | 171.79 | 103.83 | 103.76 | 3.99 | 3.18 | 112.9 |
true | 171.42 | 104.65 | 103.63 | 3.99 | 3.05 | 113.08 |
true | 171.47 | 103.74 | 104.42 | 4.19 | 2.92 | 113.53 |
true | 172.13 | 104.15 | 103.93 | 3.97 | 2.87 | 113.31 |
true | 172.07 | 104.05 | 103.82 | 3.71 | 3.61 | 113.05 |
true | 171.82 | 103.82 | 103.61 | 4.42 | 2.9 | 113.02 |
true | 171.95 | 104.02 | 103.82 | 4.28 | 3 | 113.28 |
true | 172.03 | 103.59 | 104.09 | 4.49 | 2.85 | 113.44 |
true | 171.64 | 104.18 | 103.78 | 3.49 | 3.74 | 113.94 |
true | 171.71 | 103.99 | 103.47 | 4.49 | 3.04 | 113.07 |
true | 172.02 | 103.58 | 103.8 | 3.95 | 3.46 | 112.4 |
true | 171.56 | 103.42 | 103.64 | 3.77 | 3.04 | 113.3 |
true | 171.25 | 104.23 | 103.93 | 4.36 | 2.68 | 113.5 |
true | 171.66 | 103.75 | 104.07 | 4.01 | 2.98 | 113.47 |
true | 171.88 | 104.12 | 103.86 | 4.07 | 3.41 | 113.5 |
true | 171.88 | 103.91 | 103.88 | 4.05 | 3.16 | 113.24 |
true | 172.24 | 104.03 | 103.86 | 3.71 | 3.01 | 113.03 |
true | 171.9 | 103.46 | 104.22 | 3.99 | 3 | 113.08 |
true | 171.42 | 103.82 | 103.84 | 4.01 | 2.96 | 113.16 |
true | 171.98 | 103.92 | 103.57 | 4.14 | 2.75 | 113.13 |
true | 171.79 | 103.91 | 103.94 | 3.44 | 2.96 | 113.39 |
true | 172.08 | 104.49 | 103.96 | 4.38 | 3.14 | 113.42 |
true | 172.41 | 104.1 | 104.27 | 3.8 | 3.31 | 112.68 |
true | 172.33 | 103.97 | 103.66 | 3.97 | 3.07 | 112.97 |
true | 171.6 | 103.55 | 103.74 | 3.79 | 2.86 | 112.82 |
true | 171.98 | 104.16 | 103.76 | 4.08 | 2.94 | 113.08 |
true | 171.81 | 103.84 | 103.66 | 4.35 | 2.93 | 112.97 |
true | 171.84 | 103.59 | 103.98 | 4.09 | 3.05 | 113.09 |
true | 171.94 | 103.89 | 103.45 | null | 3.25 | 112.79 |
true | 171.35 | 103.58 | 103.59 | 4.08 | 2.85 | 114.09 |
true | 172.49 | 103.69 | 103.79 | 3.81 | 2.77 | 113.09 |
true | 172.26 | 103.85 | 103.7 | 4.16 | 3.2 | 112.35 |
true | 171.65 | 103.3 | 103.55 | 4.14 | 3.37 | 112.87 |
true | 171.84 | 104.09 | 103.03 | 4.11 | 2.77 | 113.18 |
true | 171.71 | 103.43 | 103.61 | 4.11 | 2.97 | 112.95 |
true | 171.58 | 103.71 | 103.57 | 4.49 | 3.14 | 113.65 |
true | 171.89 | 103.42 | 103.35 | 4.92 | 3.02 | 113.2 |
true | 171.85 | 103.87 | 103.27 | 4.09 | 2.95 | 113.09 |
true | 172.08 | 103.93 | 103.85 | 4.3 | 3.26 | 113.65 |
true | 172.52 | 104.32 | 103.86 | 3.7 | 3.14 | 113.36 |
true | 171.85 | 103.91 | 103.91 | 4.5 | 3.21 | 113.09 |
true | 171.98 | 104.32 | 103.71 | 4.25 | 3.06 | 113.46 |
true | 172.01 | 104.58 | 103.89 | 3.96 | 2.87 | 113.28 |
true | 171.7 | 103.75 | 103.4 | 4.47 | 3.28 | 113.57 |
true | 171.93 | 103.65 | 103.56 | 4.12 | 2.77 | 112.95 |
true | 171.94 | 103.49 | 103.82 | 4.24 | 3.19 | 113.05 |
true | 171.81 | 103.76 | 103.61 | 4.31 | 3.08 | 112.74 |
true | 172.08 | 104.01 | 104.5 | 4.3 | 2.97 | 113.05 |
true | 171.81 | 104.14 | 103.35 | 4.03 | 3.03 | 112.83 |
true | 172.05 | 103.75 | 103.98 | 4.1 | 3.12 | 113.27 |
true | 172.34 | 104.26 | 103.76 | 4.01 | 3.17 | 113.28 |
true | 172 | 103.83 | 103.82 | 4.64 | 3.32 | 113 |
true | 171.57 | 104.61 | 103.91 | 4.49 | 3.16 | 113.42 |
true | 171.86 | 103.6 | 103.99 | 3.65 | 3.15 | 113.56 |
true | 171.54 | 103.75 | 103.62 | 4.59 | 2.85 | 113.44 |
true | 171.93 | 104.07 | 104.18 | null | 3.14 | 113.08 |
End of preview.
No dataset card yet
- Downloads last month
- 1