Dataset Preview
Duplicate
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 ({'Engine Condition'}) and 6 missing columns ({'Lub oil pressure', 'Coolant pressure', 'Engine rpm', 'lub oil temp', 'Coolant temp', 'Fuel pressure'}).

This happened while the csv dataset builder was generating data using

hf://datasets/chaitram/Engine-Failure-Prediction/data/ytest.csv (at revision d67f25ea06369571b0c08146efd342b4e2d7ebc6), [/tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtest.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtrain.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytest.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytrain.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytrain.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/engine_data.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/engine_data.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 1837, 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 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Engine Condition: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 391
              to
              {'Engine rpm': Value('float64'), '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 1348, 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 890, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 951, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, 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 1839, 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 ({'Engine Condition'}) and 6 missing columns ({'Lub oil pressure', 'Coolant pressure', 'Engine rpm', 'lub oil temp', 'Coolant temp', 'Fuel pressure'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/chaitram/Engine-Failure-Prediction/data/ytest.csv (at revision d67f25ea06369571b0c08146efd342b4e2d7ebc6), [/tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtest.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtrain.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytest.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytrain.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/data/ytrain.csv), /tmp/hf-datasets-cache/medium/datasets/72969426378949-config-parquet-and-info-chaitram-Engine-Failure-P-9ae86286/hub/datasets--chaitram--Engine-Failure-Prediction/snapshots/d67f25ea06369571b0c08146efd342b4e2d7ebc6/engine_data.csv (origin=hf://datasets/chaitram/Engine-Failure-Prediction@d67f25ea06369571b0c08146efd342b4e2d7ebc6/engine_data.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
float64
Lub oil pressure
float64
Fuel pressure
float64
Coolant pressure
float64
lub oil temp
float64
Coolant temp
float64
945.31363
2.271192
4.59581
1.678175
77.397392
86.255085
598
1.886191
5.041399
2.626671
80.43886
87.337373
1,009
3.918256
5.893327
1.038323
76.437137
79.289239
865
3.129499
4.413261
2.512757
78.501189
89.717372
499
1.967942
2.666344
1.546038
74.802895
81.534703
1,221
3.916888
4.104313
0.792177
74.245863
77.945365
736
4.819009
10.29128
2.307268
79.799019
69.882185
795
2.572092
5.037559
1.855216
77.137587
87.607063
928.713143
3.954351
4.972871
1.398934
77.456053
76.594853
772
3.818991
7.320255
2.298713
77.45388
81.133885
817
5.545123
7.236679
2.756079
80.856821
76.460751
407
2.955657
10.655248
3.520556
74.524837
84.76534
1,123.467357
3.282149
4.885174
1.794584
81.590241
84.331598
777
3.278401
4.732488
0.812256
75.799933
72.072171
588
0.21413
5.205819
1.925695
75.549295
91.041899
449
1.908711
1.385101
2.337084
76.981595
81.306793
1,445.5
4.587656
11.488981
2.387233
81.046574
76.713208
684
3.97675
6.059777
2.869386
75.679852
75.697252
978
3.751547
6.176931
2.930749
76.89757
76.133317
605
2.622138
6.58239
2.211845
73.421444
69.315939
1,130
2.217448
4.432311
1.092089
76.028979
76.101011
649
1.75734
0.674755
2.947766
77.947455
77.751624
492
5.138089
4.547447
3.152359
81.590241
80.76414
865.250386
2.912359
5.557609
1.372507
76.545645
79.204721
1,420
3.130037
10.191001
3.157526
76.133128
75.801295
685
4.010499
3.625207
1.605003
77.612401
81.413651
696
3.981272
5.057872
1.75643
75.417416
76.980061
651
2.353597
3.281267
1.742398
76.250605
70.48739
869
3.673138
7.583249
3.213099
75.299457
86.921754
846
0.26256
7.645676
1.476191
76.034536
76.353778
722
2.822051
6.492605
2.700854
75.819489
76.357165
825
2.991035
11.987104
2.81465
76.4116
77.311863
814.241095
3.067926
5.632795
3.123429
77.917679
85.904206
491
4.412846
2.735369
1.469682
78.614627
79.30777
1,374.405167
3.821116
6.011464
2.176103
77.952209
75.050717
1,154
4.947366
5.84166
1.948701
77.405824
75.458554
766
4.603673
8.701358
1.673445
77.769797
74.381589
1,047.284639
3.904452
8.321446
1.41052
78.000506
82.758117
750
4.311606
6.125954
1.997761
78.886591
78.364089
1,429
3.265106
6.995912
4.7214
81.590241
81.958923
775
2.251142
11.987104
3.098706
81.590241
86.470993
537
2.645258
3.29853
1.204778
75.665429
73.871419
467
2.509868
11.987104
3.299258
75.826817
72.742174
1,176
2.615046
7.568149
2.120662
77.098117
86.822915
711
3.70232
7.602597
4.7214
75.400361
86.264185
1,236
4.94762
5.667778
1.486197
76.18909
76.537014
838
2.293031
6.514107
2.460453
77.803483
86.725255
537
1.983694
3.788785
1.577915
79.220039
84.484423
1,063
4.582936
3.828736
2.996045
75.99255
79.582282
406
3.116807
11.427438
1.08063
76.156771
76.922281
359
4.495709
5.530627
2.542255
78.45334
82.118906
725
3.804166
5.606844
2.15925
81.590241
85.186339
890.148709
4.308091
6.163271
1.749401
81.590241
83.481351
466
1.991835
2.166897
1.882733
79.600646
80.437355
1,445.5
3.618254
3.546526
3.107332
76.96391
81.004871
1,140
3.238057
11.987104
1.585644
81.590241
77.485155
933
1.998246
7.425251
2.70468
76.625336
89.870266
1,171
5.760873
5.438333
1.22145
76.670305
76.04725
576
4.796219
8.31517
3.235007
81.590241
90.11711
723.062174
3.436936
0.773301
2.711835
81.358086
72.647995
619.743008
3.430626
6.073812
1.549797
74.533874
68.407798
732
3.419551
9.56755
3.027639
76.596115
76.665168
520
3.620824
5.756167
2.023239
78.235044
72.717444
1,060.782409
2.056311
9.330009
0.558152
75.704701
87.8874
926
2.163041
11.175149
0.870047
76.476721
79.58223
803
4.248282
7.352698
1.680517
77.974877
82.373842
1,057
1.969749
7.026997
1.921073
75.386065
83.765874
443
4.360361
8.350902
3.45919
75.803028
78.22491
1,154
3.393143
8.170069
1.91202
73.932836
70.534885
1,152
2.447615
4.511132
1.655399
78.189955
73.253067
959
3.839343
5.818522
1.322684
76.291515
69.381329
1,305
2.488564
4.309578
1.90856
75.579321
79.291893
803
2.866638
3.541468
2.802376
77.142756
84.632642
497
1.998562
5.06719
1.871487
74.166638
80.528647
1,092
2.446476
7.495489
2.082633
74.133778
91.617864
516
2.086524
4.560966
4.7214
73.478035
82.592142
676
4.248013
3.418353
2.389187
74.464556
81.418295
610.514502
3.496047
4.944208
3.428078
77.416724
83.241737
980
3.332947
6.946914
3.655491
73.749356
65.1977
582
3.039868
11.987104
1.755282
75.536295
86.814979
1,445.5
4.529
7.363528
1.031056
76.375894
83.314351
252
2.759883
11.209682
2.362125
75.6913
72.197108
810
2.123025
5.969876
1.675121
81.590241
86.662684
752
5.489483
11.16259
1.062356
78.725155
68.347458
608
4.617508
4.840927
2.563286
74.427596
77.363214
1,386
3.768079
3.462118
1.583108
75.891702
74.906811
1,219
2.096203
6.129497
3.25946
75.926166
86.902577
1,445.5
2.630777
3.36307
2.749246
76.89862
74.37229
918
3.733039
11.987104
1.397642
81.590241
89.158432
893
2.424875
6.214018
2.81196
76.443518
77.96874
690
4.322314
6.275411
2.320679
75.939928
75.483564
813
4.455462
6.114962
1.946762
77.870898
86.971092
1,445.5
2.094808
4.050775
3.108045
81.590241
82.437849
458
4.303229
5.800936
2.420297
81.302446
66.986892
955
4.556744
8.19104
1.424944
76.614334
85.377006
866
3.591859
5.766891
2.127156
74.882186
67.336727
634
2.052952
4.236856
1.607559
75.466519
73.349081
570
5.054126
7.137437
2.397431
75.752346
67.284975
639
2.258138
4.678405
4.595314
76.066391
83.845317
580
3.363358
5.867913
1.905795
77.491699
73.967771
End of preview.

No dataset card yet

Downloads last month
49

Space using chaitram/Engine-Failure-Prediction 1