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 ({'Lub oil pressure', 'lub oil temp', 'Engine Condition', 'Coolant temp', 'Coolant pressure', 'Engine rpm', 'Fuel pressure'}) and 6 missing columns ({'engine_rpm', 'coolant_temp', 'coolant_pressure', 'fuel_pressure', 'lub_oil_pressure', 'lub_oil_temp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/mkrish2025/Machine-Failure-Prediction/data/engine_data.csv (at revision fc0aa21811eb0c55a8b21e319d865da2840f3859), [/tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/engine_data.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytrain.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/engine_data.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/ytest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/ytrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/ytrain.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 1800, 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 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Engine rpm: int64
Lub oil pressure: double
Fuel pressure: double
Coolant pressure: double
lub oil temp: double
Coolant temp: double
Engine Condition: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1152
to
{'engine_rpm': Value('int64'), 'lub_oil_pressure': Value('float64'), 'fuel_pressure': Value('float64'), 'coolant_pressure': Value('float64'), 'lub_oil_temp': Value('float64'), 'coolant_temp': 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 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, 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 1802, 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 ({'Lub oil pressure', 'lub oil temp', 'Engine Condition', 'Coolant temp', 'Coolant pressure', 'Engine rpm', 'Fuel pressure'}) and 6 missing columns ({'engine_rpm', 'coolant_temp', 'coolant_pressure', 'fuel_pressure', 'lub_oil_pressure', 'lub_oil_temp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/mkrish2025/Machine-Failure-Prediction/data/engine_data.csv (at revision fc0aa21811eb0c55a8b21e319d865da2840f3859), [/tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/engine_data.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/data/ytrain.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/engine_data.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/ytest.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/78444853278032-config-parquet-and-info-mkrish2025-Machine-Failur-867cef49/hub/datasets--mkrish2025--Machine-Failure-Prediction/snapshots/fc0aa21811eb0c55a8b21e319d865da2840f3859/ytrain.csv (origin=hf://datasets/mkrish2025/Machine-Failure-Prediction@fc0aa21811eb0c55a8b21e319d865da2840f3859/ytrain.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.
engine_rpm int64 | lub_oil_pressure float64 | fuel_pressure float64 | coolant_pressure float64 | lub_oil_temp float64 | coolant_temp float64 |
|---|---|---|---|---|---|
1,050 | 4.599 | 7.746 | 2.908 | 77.191 | 71.728 |
887 | 5.288 | 9.945 | 2.338 | 77.032 | 86.744 |
538 | 4.173 | 4.94 | 1.536 | 76.23 | 76.97 |
1,545 | 2.603 | 8.186 | 2.176 | 76.415 | 84.514 |
665 | 2.808 | 8.649 | 2.046 | 75.749 | 73.401 |
623 | 5.572 | 7.666 | 2.127 | 77.001 | 80.012 |
653 | 4.061 | 5.55 | 1.007 | 78.948 | 85.172 |
1,274 | 2.69 | 7.211 | 1.91 | 74.098 | 81.936 |
1,232 | 3.296 | 3.339 | 5.843 | 76.275 | 76.549 |
964 | 4.219 | 4.989 | 3.577 | 78.515 | 83.625 |
1,025 | 2.18 | 5.352 | 1.718 | 76.688 | 74.288 |
666 | 2.802 | 9.61 | 1.234 | 78.103 | 82.341 |
1,248 | 2.209 | 5.982 | 2.2 | 87.942 | 76.3 |
555 | 3.256 | 3.51 | 2.69 | 75.78 | 76.938 |
825 | 4.05 | 3.969 | 4.189 | 78.838 | 74.102 |
1,097 | 5.255 | 3.808 | 2.825 | 77.342 | 82.863 |
807 | 2.619 | 5.055 | 2.939 | 77.406 | 74.551 |
686 | 3.666 | 3.777 | 1.613 | 77.297 | 75.993 |
848 | 2.16 | 0.126 | 1.753 | 75.794 | 71.828 |
806 | 3.9 | 5.227 | 2.794 | 74.17 | 70.068 |
851 | 2.723 | 3.688 | 1.746 | 76.88 | 72.8 |
451 | 2.784 | 6.454 | 1.049 | 75.521 | 76.26 |
592 | 2.871 | 5.81 | 2.322 | 78.389 | 77.541 |
441 | 3.993 | 6.195 | 3.153 | 73.51 | 75.354 |
728 | 4.908 | 5.722 | 2.615 | 75.464 | 89.462 |
459 | 2.152 | 6.578 | 1.449 | 74.453 | 75.569 |
920 | 4.438 | 5.728 | 2.189 | 76.165 | 67.486 |
786 | 5.438 | 5.876 | 3.229 | 85.669 | 65.007 |
546 | 2.984 | 5.579 | 2.06 | 77.562 | 78.089 |
544 | 5.155 | 8.963 | 1.719 | 76.875 | 75.934 |
732 | 2.626 | 5.552 | 2.163 | 75.619 | 88.056 |
373 | 2.367 | 3.694 | 1.927 | 82.462 | 75.522 |
623 | 3.655 | 5.452 | 3.011 | 76.46 | 74.775 |
779 | 2.431 | 4.917 | 1.159 | 77.728 | 85.656 |
474 | 2.681 | 6.378 | 1.034 | 77.158 | 70.762 |
901 | 2.104 | 5.535 | 1.55 | 77.066 | 67.88 |
774 | 3.178 | 4.982 | 2.546 | 74.946 | 86.456 |
538 | 3.732 | 7.139 | 1.647 | 74.896 | 85.479 |
786 | 4.896 | 4.054 | 1.196 | 75.955 | 76.569 |
508 | 2.79 | 6.394 | 1.722 | 76.953 | 88.49 |
1,094 | 2.425 | 5.601 | 1.912 | 77.922 | 83.957 |
468 | 2.365 | 6.202 | 2.942 | 74.696 | 83.094 |
567 | 2.096 | 7.661 | 2.673 | 75.933 | 75.262 |
936 | 2.969 | 7.517 | 1.82 | 85.735 | 81.707 |
948 | 3.593 | 4.485 | 0.891 | 78.273 | 72.145 |
1,336 | 2.719 | 8.628 | 1.76 | 75.015 | 89.651 |
753 | 3.423 | 5.723 | 1.707 | 75.742 | 70.112 |
698 | 3.546 | 5.285 | 0.664 | 77.105 | 74.336 |
498 | 2.851 | 8.231 | 2.844 | 75.111 | 69.246 |
620 | 2.981 | 9.962 | 2.175 | 75.803 | 74.726 |
1,566 | 4.126 | 2.111 | 1.986 | 76.063 | 81.684 |
594 | 2.053 | 3.707 | 1.825 | 76.821 | 74.13 |
720 | 4.317 | 5.292 | 2.241 | 76.627 | 77.319 |
691 | 4.271 | 5.459 | 1.89 | 74.863 | 84.751 |
552 | 6.093 | 4.763 | 2.21 | 74.115 | 81.642 |
896 | 4.094 | 5.599 | 3.964 | 76.612 | 71.438 |
1,597 | 2.906 | 8.86 | 2.016 | 76.489 | 71.22 |
554 | 2.5 | 4.155 | 2.264 | 80.73 | 74.378 |
526 | 2.632 | 5.387 | 3.351 | 73.301 | 89.196 |
581 | 2.702 | 8.271 | 1.511 | 75.932 | 76.684 |
1,378 | 2.099 | 5.523 | 5.523 | 84.683 | 80.888 |
595 | 2.409 | 7.249 | 1.89 | 85.37 | 74.802 |
1,003 | 4.298 | 9.941 | 1.788 | 76.004 | 84.392 |
938 | 2.305 | 7.791 | 7.189 | 76.688 | 83.923 |
809 | 5.211 | 11.676 | 2.59 | 83.189 | 78.517 |
1,086 | 2.507 | 12.74 | 1.7 | 75.572 | 83.114 |
507 | 2.761 | 4.66 | 2.382 | 82.166 | 78.068 |
1,000 | 2.821 | 4.418 | 1.812 | 74.661 | 82.03 |
909 | 3.173 | 6.719 | 3.807 | 78.468 | 72.768 |
704 | 2.2 | 4.744 | 1.576 | 77.371 | 86.844 |
650 | 2.162 | 7.058 | 2.442 | 75.422 | 83.887 |
915 | 3.872 | 10.455 | 1.805 | 75.767 | 79.03 |
754 | 2.367 | 2.495 | 3.09 | 88.542 | 76.423 |
510 | 4.387 | 2.529 | 2.631 | 74.628 | 66.891 |
692 | 3.9 | 7.049 | 1.909 | 77.413 | 77.825 |
534 | 3.965 | 0.983 | 2.255 | 76.214 | 78.106 |
560 | 2.683 | 12.029 | 2.559 | 87.242 | 84.05 |
574 | 4.106 | 8.612 | 1.356 | 77.722 | 79.876 |
749 | 3.362 | 5.725 | 2.532 | 75.184 | 71.889 |
482 | 2.422 | 5.394 | 2.391 | 75.181 | 73.086 |
808 | 2.559 | 4.759 | 1.637 | 76.083 | 68.97 |
636 | 4.036 | 6.982 | 1.517 | 78.528 | 73.322 |
966 | 2.6 | 3.355 | 2.712 | 78.37 | 73.252 |
762 | 3.478 | 5.132 | 1.132 | 75.072 | 71.456 |
452 | 4.956 | 5.557 | 2.922 | 74.709 | 68.68 |
537 | 4.627 | 3.416 | 2.526 | 76.63 | 83.616 |
1,240 | 2.591 | 10.824 | 2.785 | 75.66 | 87.976 |
1,006 | 3.61 | 13.265 | 1.118 | 87.505 | 75.212 |
584 | 2.018 | 7.132 | 2.592 | 75.53 | 76.893 |
855 | 4.204 | 5.804 | 2.422 | 76.671 | 74.637 |
849 | 3.932 | 5.004 | 1.963 | 77.617 | 90.261 |
788 | 2.216 | 7.794 | 2.924 | 77.195 | 80.253 |
1,235 | 2.953 | 6.53 | 5.21 | 77.502 | 86.013 |
482 | 2.705 | 7.349 | 3.41 | 76.43 | 85.991 |
463 | 3.703 | 10.099 | 2.883 | 81.746 | 90.626 |
558 | 2.802 | 8.618 | 2.031 | 76.823 | 73.348 |
562 | 2.901 | 2.308 | 1.917 | 77.723 | 76.791 |
1,324 | 2.5 | 5.054 | 3.943 | 76.609 | 82.323 |
943 | 3.665 | 4.746 | 2.752 | 76.817 | 70.448 |
937 | 4.625 | 9.729 | 5.158 | 74.168 | 73.807 |
End of preview.
No dataset card yet
- Downloads last month
- 5