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 ({'Failure', 'UDI'})
This happened while the csv dataset builder was generating data using
hf://datasets/praneeth232/machine-failure-prediction/machine-failure-prediction.csv (at revision bbaf320ba099324f61717196810a630ffbc9c6ef)
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
UDI: int64
Type: string
Air_temperature: double
Process_temperature: double
Rotational_speed: int64
Torque: double
Tool_wear: int64
Failure: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1210
to
{'Type': Value('int64'), 'Air_temperature': Value('float64'), 'Process_temperature': Value('float64'), 'Rotational_speed': Value('int64'), 'Torque': Value('float64'), 'Tool_wear': 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 2 new columns ({'Failure', 'UDI'})
This happened while the csv dataset builder was generating data using
hf://datasets/praneeth232/machine-failure-prediction/machine-failure-prediction.csv (at revision bbaf320ba099324f61717196810a630ffbc9c6ef)
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.
Type int64 | Air_temperature float64 | Process_temperature float64 | Rotational_speed int64 | Torque float64 | Tool_wear int64 |
|---|---|---|---|---|---|
1 | 297.4 | 324.111111 | 1,510 | 36.2 | 92 |
1 | 296.8 | 320.777778 | 1,373 | 42.9 | 74 |
1 | 298.4 | 323.740741 | 1,477 | 44 | 124 |
2 | 297.9 | 323.37037 | 1,449 | 40.8 | 157 |
1 | 296.9 | 323 | 1,390 | 41.8 | 184 |
1 | 297.8 | 328.185185 | 1,533 | 36.8 | 198 |
1 | 296.3 | 318.925926 | 1,567 | 31.4 | 5 |
1 | 297.6 | 326.703704 | 1,958 | 22.1 | 108 |
1 | 297.3 | 322.62963 | 1,504 | 36.3 | 45 |
1 | 297.9 | 325.962963 | 1,478 | 39.7 | 10 |
2 | 295.5 | 314.111111 | 1,326 | 50.8 | 18 |
1 | 298.3 | 328.925926 | 1,858 | 23.9 | 114 |
1 | 295.9 | 316.333333 | 1,414 | 50.2 | 51 |
1 | 297.9 | 328.185185 | 1,336 | 71.6 | 31 |
1 | 295.6 | 314.481482 | 1,389 | 46.2 | 113 |
2 | 298.9 | 325.222222 | 1,924 | 22.6 | 193 |
2 | 296.6 | 319.666667 | 1,482 | 39.9 | 153 |
1 | 297.3 | 324.111111 | 1,619 | 31.6 | 129 |
1 | 297.5 | 323.37037 | 1,335 | 48 | 131 |
1 | 298.4 | 323.740741 | 1,591 | 36.7 | 122 |
1 | 297.7 | 327.814815 | 1,498 | 41 | 176 |
2 | 297.4 | 322.259259 | 1,424 | 53.9 | 120 |
0 | 295.6 | 314.111111 | 1,396 | 52.4 | 0 |
2 | 295.6 | 314.851852 | 1,584 | 33.6 | 81 |
1 | 295.6 | 314.851852 | 1,569 | 35.1 | 140 |
1 | 298.8 | 325.592593 | 1,378 | 54.4 | 165 |
1 | 298.4 | 322.62963 | 1,433 | 62.3 | 20 |
1 | 298 | 322.62963 | 1,405 | 56.2 | 218 |
1 | 296.9 | 320.037037 | 1,452 | 45.7 | 122 |
2 | 297.5 | 322.259259 | 2,448 | 13.8 | 29 |
2 | 297.6 | 327.444444 | 1,330 | 53.1 | 7 |
1 | 297.8 | 323 | 1,512 | 39.9 | 181 |
1 | 298.3 | 329.296296 | 1,545 | 36.3 | 90 |
1 | 297.5 | 326.703704 | 1,803 | 24.7 | 98 |
2 | 298.4 | 329.666667 | 1,725 | 32 | 80 |
1 | 297.7 | 325.592593 | 1,477 | 38.3 | 60 |
2 | 298.4 | 322.259259 | 1,499 | 40 | 211 |
1 | 298.4 | 324.111111 | 1,588 | 35 | 99 |
2 | 297.6 | 324.851852 | 1,479 | 38.1 | 182 |
0 | 297.6 | 327.444444 | 1,428 | 46.6 | 13 |
1 | 296.9 | 321.888889 | 1,435 | 45.3 | 62 |
1 | 297.5 | 322.62963 | 2,564 | 12.8 | 127 |
2 | 295.6 | 314.481482 | 1,418 | 46.2 | 24 |
2 | 297.3 | 323 | 1,665 | 28.9 | 17 |
1 | 298.4 | 323.740741 | 1,433 | 47.1 | 101 |
0 | 297.7 | 327.814815 | 1,440 | 51.1 | 191 |
0 | 298 | 321.888889 | 1,440 | 43.7 | 37 |
1 | 296.9 | 322.62963 | 1,555 | 38.2 | 175 |
1 | 298.8 | 324.851852 | 1,461 | 47.9 | 206 |
1 | 295.8 | 315.962963 | 1,358 | 49.2 | 63 |
1 | 298.3 | 328.555556 | 1,507 | 41.6 | 112 |
1 | 297.6 | 327.074074 | 1,373 | 50.6 | 55 |
1 | 296.8 | 321.518519 | 1,675 | 29.7 | 46 |
1 | 299 | 326.703704 | 1,758 | 25.7 | 68 |
2 | 299.1 | 327.074074 | 1,339 | 48.2 | 86 |
1 | 297.7 | 323.37037 | 1,373 | 56.7 | 203 |
0 | 298.4 | 324.851852 | 1,782 | 23.9 | 24 |
2 | 297.4 | 326.333333 | 1,775 | 25.8 | 91 |
1 | 297.4 | 326.703704 | 1,296 | 52.3 | 96 |
2 | 296.9 | 323 | 1,450 | 46.9 | 186 |
1 | 298.7 | 325.222222 | 1,691 | 30.1 | 154 |
2 | 296 | 316.333333 | 1,628 | 36.8 | 121 |
2 | 295.4 | 313.37037 | 1,526 | 38.2 | 181 |
1 | 297.4 | 325.962963 | 1,620 | 33.2 | 28 |
2 | 297.8 | 325.222222 | 1,434 | 43.3 | 96 |
1 | 297.5 | 323 | 1,604 | 38.1 | 106 |
0 | 297.8 | 326.703704 | 1,445 | 48.2 | 10 |
2 | 297.3 | 323.740741 | 1,471 | 50.7 | 157 |
2 | 298.2 | 322.62963 | 1,522 | 49.1 | 22 |
1 | 295.7 | 314.851852 | 1,464 | 46.2 | 92 |
2 | 299 | 325.222222 | 1,575 | 35.3 | 47 |
2 | 298.8 | 324.481482 | 1,497 | 46.8 | 72 |
1 | 297.6 | 325.962963 | 1,611 | 33.1 | 155 |
1 | 298.2 | 321.888889 | 1,306 | 58.3 | 35 |
1 | 297.5 | 326.703704 | 1,497 | 35.8 | 44 |
1 | 295.6 | 314.111111 | 1,569 | 40.4 | 174 |
1 | 298.8 | 325.592593 | 1,350 | 52.5 | 111 |
1 | 297.4 | 323.740741 | 1,609 | 36.2 | 116 |
2 | 297.5 | 327.074074 | 1,448 | 43.7 | 46 |
1 | 295.9 | 316.333333 | 1,679 | 30.4 | 117 |
2 | 298.9 | 324.851852 | 1,679 | 28.7 | 181 |
1 | 297.5 | 326.703704 | 1,650 | 34.6 | 142 |
0 | 298.8 | 324.851852 | 1,466 | 44.1 | 184 |
1 | 295.8 | 315.222222 | 1,337 | 54.6 | 87 |
2 | 297.6 | 323 | 1,507 | 46 | 51 |
2 | 297.6 | 323.37037 | 1,848 | 23.7 | 37 |
2 | 297.7 | 325.962963 | 1,732 | 28.8 | 152 |
1 | 297.4 | 325.962963 | 1,428 | 38.8 | 26 |
1 | 297.6 | 324.111111 | 1,622 | 37.9 | 79 |
2 | 297.4 | 325.222222 | 1,685 | 30.7 | 177 |
1 | 297.6 | 323 | 1,353 | 57.5 | 88 |
1 | 297.5 | 323.740741 | 1,552 | 44.9 | 77 |
2 | 296.7 | 320.037037 | 1,547 | 34.7 | 150 |
1 | 297.5 | 326.333333 | 1,732 | 29.9 | 32 |
2 | 296.9 | 321.148148 | 2,010 | 18.9 | 86 |
2 | 299 | 325.222222 | 1,419 | 45.2 | 27 |
2 | 298.9 | 325.222222 | 1,812 | 25.9 | 174 |
1 | 296.6 | 319.296296 | 1,436 | 42.8 | 156 |
2 | 298.3 | 329.296296 | 1,389 | 49.6 | 75 |
0 | 296.9 | 320.777778 | 1,549 | 37.8 | 104 |
End of preview.