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 ({'Coolant pressure', 'Engine rpm', 'Lub oil pressure', 'Fuel pressure', 'lub oil temp', 'Engine Condition', 'Coolant temp'}) and 6 missing columns ({'Fuel_pressure', 'Coolant_temp', 'Lub_oil_pressure', 'Coolant_pressure', 'lub_oil_temp', 'Engine_rpm'}).
This happened while the csv dataset builder was generating data using
hf://datasets/p-kansal/capstone-project/engine_data.csv (at revision 7783aceaac6db0c63d3c79194c62b30b278d062f), [/tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/Xtest.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/Xtrain.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/engine_data.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/ytest.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/ytrain.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/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 1890, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, 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
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 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 1892, 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 ({'Coolant pressure', 'Engine rpm', 'Lub oil pressure', 'Fuel pressure', 'lub oil temp', 'Engine Condition', 'Coolant temp'}) and 6 missing columns ({'Fuel_pressure', 'Coolant_temp', 'Lub_oil_pressure', 'Coolant_pressure', 'lub_oil_temp', 'Engine_rpm'}).
This happened while the csv dataset builder was generating data using
hf://datasets/p-kansal/capstone-project/engine_data.csv (at revision 7783aceaac6db0c63d3c79194c62b30b278d062f), [/tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/Xtest.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/Xtrain.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/engine_data.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/ytest.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/13084668581901-config-parquet-and-info-p-kansal-capstone-project-a3ee71b0/hub/datasets--p-kansal--capstone-project/snapshots/7783aceaac6db0c63d3c79194c62b30b278d062f/ytrain.csv (origin=hf://datasets/p-kansal/capstone-project@7783aceaac6db0c63d3c79194c62b30b278d062f/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 |
|---|---|---|---|---|---|
675 | 1.932625 | 6.730167 | 1.345992 | 76.570302 | 82.552358 |
412 | 5.140465 | 4.221027 | 3.264375 | 81.528002 | 88.146743 |
594 | 3.84421 | 5.017002 | 1.519279 | 74.661615 | 87.805541 |
681 | 2.152207 | 6.145199 | 1.717048 | 75.873359 | 77.663242 |
590 | 4.754917 | 8.785828 | 3.248235 | 76.568805 | 68.886799 |
854 | 2.873234 | 5.840421 | 2.118472 | 81.574584 | 73.062423 |
1,081 | 3.686152 | 4.685085 | 1.724077 | 81.154454 | 80.937979 |
597 | 3.134165 | 5.948937 | 2.183726 | 76.263803 | 65.672866 |
551 | 3.520859 | 6.342256 | 1.282708 | 74.610358 | 78.892441 |
935 | 3.665291 | 6.379486 | 1.415059 | 76.712929 | 65.539342 |
727 | 2.82375 | 9.105355 | 3.508448 | 79.984875 | 76.002782 |
1,202 | 3.26844 | 5.674026 | 2.336345 | 76.739852 | 72.961469 |
955 | 4.24787 | 11.02304 | 2.410514 | 76.104956 | 76.124163 |
693 | 3.019036 | 10.009761 | 1.111368 | 74.071757 | 84.635512 |
795 | 3.311254 | 2.619287 | 1.771474 | 84.458104 | 72.935301 |
538 | 2.4103 | 11.457371 | 1.726742 | 74.033651 | 70.797757 |
612 | 3.069566 | 5.382432 | 1.822757 | 81.327248 | 79.053022 |
515 | 2.537224 | 5.157854 | 2.500517 | 74.920435 | 68.876836 |
1,093 | 5.374829 | 9.821654 | 1.833404 | 76.646346 | 71.395943 |
583 | 2.371406 | 3.601328 | 2.66815 | 77.489254 | 75.197347 |
631 | 2.63442 | 9.125975 | 0.929036 | 76.717466 | 74.72489 |
583 | 4.117999 | 9.345208 | 3.275701 | 73.630496 | 68.661832 |
754 | 3.301627 | 4.559834 | 1.317019 | 74.998644 | 76.24145 |
410 | 3.579736 | 6.122809 | 3.310771 | 76.177034 | 72.013659 |
1,602 | 4.42926 | 3.567424 | 2.615359 | 78.49163 | 69.694727 |
416 | 3.549662 | 4.728222 | 1.935778 | 77.346576 | 74.475541 |
509 | 5.010955 | 4.020891 | 2.629969 | 86.447564 | 70.893691 |
1,162 | 2.730503 | 5.852378 | 2.455505 | 78.636377 | 73.033114 |
777 | 2.430306 | 2.658692 | 1.26929 | 81.968597 | 81.579924 |
827 | 2.787601 | 6.421119 | 2.04641 | 83.603992 | 82.727021 |
583 | 2.635073 | 15.980425 | 1.767484 | 76.930662 | 77.737206 |
759 | 4.458605 | 16.74387 | 1.153165 | 76.819505 | 72.771723 |
778 | 2.311826 | 6.595879 | 1.300002 | 77.210898 | 69.623588 |
947 | 2.043834 | 5.498346 | 1.386332 | 77.78137 | 83.013062 |
926 | 2.759453 | 6.268707 | 1.889941 | 75.26129 | 77.374544 |
899 | 0.063231 | 4.782681 | 1.521215 | 72.629277 | 80.987664 |
755 | 4.591869 | 3.731688 | 1.624101 | 78.871583 | 85.842141 |
1,223 | 2.010171 | 5.020538 | 2.902712 | 87.831886 | 83.384707 |
1,195 | 3.84874 | 7.086738 | 2.20564 | 76.170461 | 71.233486 |
685 | 2.917126 | 3.563674 | 2.841263 | 76.135885 | 69.713313 |
515 | 4.242724 | 6.827158 | 3.067541 | 77.193043 | 91.532261 |
966 | 2.506529 | 8.504263 | 1.647937 | 77.788951 | 75.965786 |
604 | 4.668359 | 4.97056 | 3.023404 | 86.253439 | 81.780347 |
434 | 2.725818 | 7.946684 | 3.372447 | 75.39963 | 81.04961 |
1,005 | 4.042843 | 0.783795 | 2.802961 | 77.169348 | 82.609426 |
1,280 | 3.418699 | 7.508984 | 1.569087 | 79.937521 | 85.196843 |
490 | 2.755827 | 8.846912 | 4.214205 | 76.533562 | 71.364388 |
542 | 2.769548 | 7.186717 | 2.021911 | 77.966956 | 81.49183 |
594 | 2.323309 | 5.831734 | 1.379202 | 75.30389 | 72.089942 |
381 | 4.166455 | 6.622904 | 2.532103 | 76.291837 | 85.544874 |
450 | 2.528621 | 7.693557 | 2.735189 | 86.859895 | 76.849424 |
1,101 | 3.058338 | 6.931112 | 1.578245 | 75.477447 | 84.154522 |
830 | 2.259636 | 4.749004 | 5.016827 | 77.541359 | 82.256476 |
427 | 2.793078 | 2.985019 | 2.158007 | 78.537395 | 77.01068 |
521 | 3.298007 | 6.014803 | 1.865336 | 75.345687 | 76.560665 |
451 | 2.559195 | 9.889382 | 1.230917 | 74.480044 | 77.168993 |
509 | 3.782255 | 6.027206 | 3.501854 | 73.561423 | 83.570879 |
542 | 4.169667 | 12.580864 | 5.842478 | 77.115403 | 75.751134 |
437 | 3.573721 | 11.626114 | 1.59385 | 75.837411 | 84.031763 |
740 | 2.365276 | 5.841134 | 1.635247 | 78.092081 | 87.112988 |
729 | 3.120853 | 5.079787 | 2.143269 | 76.336281 | 79.726649 |
1,277 | 2.722359 | 5.308492 | 1.388461 | 81.0672 | 73.525506 |
639 | 3.332208 | 4.759668 | 2.70309 | 75.878202 | 74.497759 |
567 | 3.295724 | 8.562501 | 1.278599 | 76.83681 | 77.780911 |
451 | 2.75517 | 8.194506 | 2.779379 | 76.031512 | 75.686769 |
828 | 3.217333 | 6.276573 | 3.708209 | 77.888839 | 86.299448 |
645 | 3.364716 | 5.269696 | 3.176519 | 73.512729 | 73.93162 |
520 | 2.67408 | 3.078817 | 1.133822 | 78.197229 | 79.338197 |
463 | 3.220489 | 8.176159 | 1.862771 | 76.590538 | 74.76792 |
952 | 5.186564 | 11.54404 | 2.012 | 78.134773 | 79.845922 |
1,094 | 0.55523 | 6.286631 | 5.838286 | 75.171391 | 75.732364 |
1,190 | 4.441711 | 15.156471 | 2.69561 | 78.240828 | 75.137021 |
630 | 3.935454 | 9.652624 | 2.984267 | 75.262878 | 80.895025 |
869 | 4.854003 | 9.17147 | 1.656352 | 75.651459 | 82.390843 |
995 | 2.518348 | 4.6591 | 1.951887 | 74.183853 | 71.860524 |
631 | 2.577838 | 4.517867 | 1.872763 | 85.417101 | 75.249457 |
633 | 2.572488 | 5.074381 | 2.266198 | 77.641131 | 72.307249 |
739 | 2.828528 | 4.492574 | 1.278132 | 76.643401 | 85.785012 |
495 | 3.378216 | 7.376276 | 3.090757 | 77.264033 | 73.807025 |
542 | 2.533404 | 5.641195 | 2.991979 | 74.927889 | 84.064995 |
880 | 3.132702 | 6.667896 | 5.158451 | 82.658179 | 78.316317 |
864 | 2.231374 | 7.840309 | 2.343159 | 78.048684 | 79.910744 |
872 | 2.563635 | 5.460597 | 2.130976 | 82.872676 | 66.645964 |
784 | 4.970889 | 5.03764 | 3.298836 | 75.728217 | 72.530175 |
817 | 2.294755 | 4.358877 | 1.243734 | 76.920517 | 83.603357 |
477 | 2.051994 | 5.678449 | 1.594424 | 76.391501 | 76.107106 |
726 | 1.230629 | 2.592125 | 2.111451 | 77.655039 | 90.509516 |
522 | 4.723165 | 10.448733 | 3.37447 | 76.96403 | 70.663855 |
799 | 2.314471 | 7.867092 | 2.406821 | 76.157914 | 76.983836 |
653 | 2.542902 | 4.445094 | 3.344106 | 76.978495 | 80.413277 |
474 | 4.894177 | 5.208461 | 3.508407 | 76.370715 | 84.876016 |
709 | 3.503475 | 2.185035 | 1.484055 | 74.994473 | 75.802061 |
646 | 2.460747 | 2.726847 | 1.702385 | 78.14504 | 78.069349 |
581 | 2.767335 | 5.749164 | 2.972443 | 76.639771 | 86.732033 |
1,509 | 2.520086 | 7.679574 | 2.11415 | 73.917423 | 76.307346 |
424 | 4.571414 | 5.206121 | 1.62091 | 77.06458 | 81.999981 |
569 | 2.403982 | 1.940984 | 4.974468 | 77.052993 | 76.857076 |
798 | 1.975885 | 8.256051 | 1.199639 | 76.772217 | 76.083107 |
555 | 4.648258 | 5.763499 | 1.578281 | 76.763467 | 69.529655 |
526 | 2.313624 | 5.968712 | 1.334131 | 75.0501 | 77.162987 |
End of preview.
No dataset card yet
- Downloads last month
- 10