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 1 new columns ({'class'})
This happened while the csv dataset builder was generating data using
hf://datasets/Orion-Polendo/PIMA-Diabetes-Prediction/pima.csv (at revision 0738e914507f909af88f96562ed8a54fdb8d3fa5)
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.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
preg: int64
plas: int64
pres: int64
skin: int64
test: int64
mass: double
pedi: double
age: int64
class: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1214
to
{'preg': Value('int64'), 'plas': Value('int64'), 'pres': Value('int64'), 'skin': Value('int64'), 'test': Value('int64'), 'mass': Value('float64'), 'pedi': Value('float64'), 'age': 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 1455, 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 1054, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.12/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.12/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.12/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 1 new columns ({'class'})
This happened while the csv dataset builder was generating data using
hf://datasets/Orion-Polendo/PIMA-Diabetes-Prediction/pima.csv (at revision 0738e914507f909af88f96562ed8a54fdb8d3fa5)
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.
preg int64 | plas int64 | pres int64 | skin int64 | test int64 | mass float64 | pedi float64 | age int64 |
|---|---|---|---|---|---|---|---|
6 | 98 | 58 | 33 | 190 | 34 | 0.43 | 43 |
2 | 112 | 75 | 32 | 0 | 35.7 | 0.148 | 21 |
2 | 108 | 64 | 0 | 0 | 30.8 | 0.158 | 21 |
8 | 107 | 80 | 0 | 0 | 24.6 | 0.856 | 34 |
7 | 136 | 90 | 0 | 0 | 29.9 | 0.21 | 50 |
6 | 103 | 72 | 32 | 190 | 37.7 | 0.324 | 55 |
1 | 71 | 48 | 18 | 76 | 20.4 | 0.323 | 22 |
0 | 117 | 0 | 0 | 0 | 33.8 | 0.932 | 44 |
4 | 154 | 72 | 29 | 126 | 31.3 | 0.338 | 37 |
5 | 147 | 78 | 0 | 0 | 33.7 | 0.218 | 65 |
10 | 111 | 70 | 27 | 0 | 27.5 | 0.141 | 40 |
7 | 179 | 95 | 31 | 0 | 34.2 | 0.164 | 60 |
4 | 148 | 60 | 27 | 318 | 30.9 | 0.15 | 29 |
5 | 96 | 74 | 18 | 67 | 33.6 | 0.997 | 43 |
2 | 88 | 58 | 26 | 16 | 28.4 | 0.766 | 22 |
1 | 125 | 50 | 40 | 167 | 33.3 | 0.962 | 28 |
3 | 84 | 72 | 32 | 0 | 37.2 | 0.267 | 28 |
5 | 86 | 68 | 28 | 71 | 30.2 | 0.364 | 24 |
4 | 183 | 0 | 0 | 0 | 28.4 | 0.212 | 36 |
0 | 140 | 65 | 26 | 130 | 42.6 | 0.431 | 24 |
5 | 104 | 74 | 0 | 0 | 28.8 | 0.153 | 48 |
1 | 88 | 78 | 29 | 76 | 32 | 0.365 | 29 |
13 | 106 | 72 | 54 | 0 | 36.6 | 0.178 | 45 |
1 | 96 | 64 | 27 | 87 | 33.2 | 0.289 | 21 |
10 | 129 | 76 | 28 | 122 | 35.9 | 0.28 | 39 |
7 | 184 | 84 | 33 | 0 | 35.5 | 0.355 | 41 |
6 | 109 | 60 | 27 | 0 | 25 | 0.206 | 27 |
1 | 100 | 74 | 12 | 46 | 19.5 | 0.149 | 28 |
2 | 102 | 86 | 36 | 120 | 45.5 | 0.127 | 23 |
3 | 89 | 74 | 16 | 85 | 30.4 | 0.551 | 38 |
0 | 162 | 76 | 56 | 100 | 53.2 | 0.759 | 25 |
4 | 146 | 78 | 0 | 0 | 38.5 | 0.52 | 67 |
4 | 184 | 78 | 39 | 277 | 37 | 0.264 | 31 |
0 | 167 | 0 | 0 | 0 | 32.3 | 0.839 | 30 |
2 | 109 | 92 | 0 | 0 | 42.7 | 0.845 | 54 |
9 | 152 | 78 | 34 | 171 | 34.2 | 0.893 | 33 |
2 | 197 | 70 | 99 | 0 | 34.7 | 0.575 | 62 |
0 | 109 | 88 | 30 | 0 | 32.5 | 0.855 | 38 |
12 | 121 | 78 | 17 | 0 | 26.5 | 0.259 | 62 |
0 | 131 | 0 | 0 | 0 | 43.2 | 0.27 | 26 |
4 | 85 | 58 | 22 | 49 | 27.8 | 0.306 | 28 |
1 | 135 | 54 | 0 | 0 | 26.7 | 0.687 | 62 |
5 | 109 | 75 | 26 | 0 | 36 | 0.546 | 60 |
13 | 104 | 72 | 0 | 0 | 31.2 | 0.465 | 38 |
6 | 92 | 92 | 0 | 0 | 19.9 | 0.188 | 28 |
3 | 158 | 76 | 36 | 245 | 31.6 | 0.851 | 28 |
4 | 111 | 72 | 47 | 207 | 37.1 | 1.39 | 56 |
5 | 95 | 72 | 33 | 0 | 37.7 | 0.37 | 27 |
8 | 112 | 72 | 0 | 0 | 23.6 | 0.84 | 58 |
0 | 173 | 78 | 32 | 265 | 46.5 | 1.159 | 58 |
4 | 94 | 65 | 22 | 0 | 24.7 | 0.148 | 21 |
9 | 145 | 88 | 34 | 165 | 30.3 | 0.771 | 53 |
12 | 140 | 82 | 43 | 325 | 39.2 | 0.528 | 58 |
2 | 134 | 70 | 0 | 0 | 28.9 | 0.542 | 23 |
0 | 139 | 62 | 17 | 210 | 22.1 | 0.207 | 21 |
3 | 74 | 68 | 28 | 45 | 29.7 | 0.293 | 23 |
5 | 158 | 70 | 0 | 0 | 29.8 | 0.207 | 63 |
3 | 80 | 0 | 0 | 0 | 0 | 0.174 | 22 |
2 | 121 | 70 | 32 | 95 | 39.1 | 0.886 | 23 |
5 | 168 | 64 | 0 | 0 | 32.9 | 0.135 | 41 |
8 | 154 | 78 | 32 | 0 | 32.4 | 0.443 | 45 |
2 | 122 | 70 | 27 | 0 | 36.8 | 0.34 | 27 |
6 | 129 | 90 | 7 | 326 | 19.6 | 0.582 | 60 |
12 | 92 | 62 | 7 | 258 | 27.6 | 0.926 | 44 |
0 | 84 | 82 | 31 | 125 | 38.2 | 0.233 | 23 |
0 | 147 | 85 | 54 | 0 | 42.8 | 0.375 | 24 |
2 | 81 | 60 | 22 | 0 | 27.7 | 0.29 | 25 |
5 | 137 | 108 | 0 | 0 | 48.8 | 0.227 | 37 |
0 | 104 | 76 | 0 | 0 | 18.4 | 0.582 | 27 |
1 | 172 | 68 | 49 | 579 | 42.4 | 0.702 | 28 |
7 | 150 | 66 | 42 | 342 | 34.7 | 0.718 | 42 |
4 | 83 | 86 | 19 | 0 | 29.3 | 0.317 | 34 |
9 | 91 | 68 | 0 | 0 | 24.2 | 0.2 | 58 |
0 | 95 | 85 | 25 | 36 | 37.4 | 0.247 | 24 |
6 | 103 | 66 | 0 | 0 | 24.3 | 0.249 | 29 |
5 | 103 | 108 | 37 | 0 | 39.2 | 0.305 | 65 |
2 | 105 | 75 | 0 | 0 | 23.3 | 0.56 | 53 |
3 | 96 | 56 | 34 | 115 | 24.7 | 0.944 | 39 |
0 | 117 | 66 | 31 | 188 | 30.8 | 0.493 | 22 |
4 | 110 | 92 | 0 | 0 | 37.6 | 0.191 | 30 |
7 | 159 | 66 | 0 | 0 | 30.4 | 0.383 | 36 |
0 | 104 | 64 | 37 | 64 | 33.6 | 0.51 | 22 |
2 | 75 | 64 | 24 | 55 | 29.7 | 0.37 | 33 |
0 | 135 | 94 | 46 | 145 | 40.6 | 0.284 | 26 |
0 | 119 | 64 | 18 | 92 | 34.9 | 0.725 | 23 |
3 | 187 | 70 | 22 | 200 | 36.4 | 0.408 | 36 |
7 | 152 | 88 | 44 | 0 | 50 | 0.337 | 36 |
2 | 124 | 68 | 28 | 205 | 32.9 | 0.875 | 30 |
5 | 99 | 74 | 27 | 0 | 29 | 0.203 | 32 |
2 | 87 | 58 | 16 | 52 | 32.7 | 0.166 | 25 |
0 | 93 | 60 | 25 | 92 | 28.7 | 0.532 | 22 |
4 | 92 | 80 | 0 | 0 | 42.2 | 0.237 | 29 |
2 | 74 | 0 | 0 | 0 | 0 | 0.102 | 22 |
8 | 120 | 0 | 0 | 0 | 30 | 0.183 | 38 |
2 | 123 | 48 | 32 | 165 | 42.1 | 0.52 | 26 |
1 | 144 | 82 | 40 | 0 | 41.3 | 0.607 | 28 |
9 | 106 | 52 | 0 | 0 | 31.2 | 0.38 | 42 |
2 | 83 | 65 | 28 | 66 | 36.8 | 0.629 | 24 |
0 | 177 | 60 | 29 | 478 | 34.6 | 1.072 | 21 |
7 | 62 | 78 | 0 | 0 | 32.6 | 0.391 | 41 |
End of preview.
No dataset card yet
- Downloads last month
- 5