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'})

This happened while the csv dataset builder was generating data using

hf://datasets/deepacsr/predictive-maintenance/engine_data.csv (at revision 8883289e4eb9f242c090e8c009c4f264a81f3cb7), [/tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtest.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtrain.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/engine_data.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/ytest.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/ytrain.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/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('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 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 1 new columns ({'Engine Condition'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/deepacsr/predictive-maintenance/engine_data.csv (at revision 8883289e4eb9f242c090e8c009c4f264a81f3cb7), [/tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtest.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtrain.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/engine_data.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/ytest.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/43318311321013-config-parquet-and-info-deepacsr-predictive-maint-dda099c5/hub/datasets--deepacsr--predictive-maintenance/snapshots/8883289e4eb9f242c090e8c009c4f264a81f3cb7/ytrain.csv (origin=hf://datasets/deepacsr/predictive-maintenance@8883289e4eb9f242c090e8c009c4f264a81f3cb7/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
float64
Lub oil pressure
float64
Fuel pressure
float64
Coolant pressure
float64
lub oil temp
float64
Coolant temp
float64
467
2.467498
8.664304
1.819065
76.380675
73.695699
730
5.867369
15.45932
3.756909
74.162484
66.796151
470
3.018126
4.827767
2.895687
74.395148
90.020294
442
5.419298
9.539546
2.428402
76.894714
76.124385
906
2.243106
11.512972
1.685891
84.15403
84.032503
388
2.661658
5.714025
1.28689
76.327429
70.153623
1,244
5.117347
6.780864
2.06662
76.13897
68.301198
639
5.532607
7.710376
2.824269
75.289091
81.288451
672
3.787152
4.118807
1.596234
86.86821
81.083022
530
2.230184
5.428688
1.046759
76.743679
77.011852
1,043
2.582667
3.862825
2.80128
76.454825
75.080762
747
3.829155
5.924114
1.718856
82.83788
76.588143
451
2.3484
5.803017
1.157125
75.372889
82.143865
1,260
4.117485
5.193181
3.089205
76.091396
91.600134
532
4.974097
5.407805
1.775458
75.512052
72.897924
567
2.827437
7.506748
2.295197
75.079473
76.876578
582
3.469436
10.768868
3.093371
81.047837
83.662015
753
2.577166
6.761055
0.72527
77.755974
72.622178
479
2.200243
3.764892
2.079533
76.73
83.52815
954
3.885942
2.951933
2.170382
76.715434
76.390172
590
2.524034
5.790261
2.784885
74.776626
84.21484
977
4.102263
3.693199
1.224446
76.489488
89.704843
737
4.525011
5.341731
3.061291
81.033759
74.870468
568
3.858933
4.49679
0.708942
76.416329
79.158941
607
4.283517
5.400412
1.652831
75.311943
76.268159
817
3.705183
6.190979
1.39674
74.532334
68.817503
729
4.081155
8.849447
0.943608
77.632635
67.829785
761
2.564847
5.322708
2.875815
76.225379
86.547924
821
2.415755
8.474087
2.199621
76.029452
69.301206
580
3.200053
4.061579
1.508119
76.363397
78.843828
998
4.051023
9.726107
0.860696
75.877708
85.924215
807
2.618519
5.054998
2.938578
77.40618
74.550991
722
2.277807
11.141781
3.267835
76.819646
81.878205
601
2.434256
11.747053
1.974039
76.41049
71.912604
567
2.005401
5.126509
3.061753
85.15965
87.358876
1,048
4.001562
6.8656
2.295172
75.807216
75.054332
566
4.467208
5.380048
1.375749
75.48529
75.067184
641
4.226261
6.653992
2.896149
77.97174
81.546872
1,057
3.750867
9.800073
3.042494
73.078138
90.154817
1,451
2.174911
1.96082
1.960822
74.24047
72.03193
411
2.623177
7.659588
1.582101
77.03223
76.44919
997
1.979629
5.017558
2.483652
78.308079
70.842938
827
2.637099
4.890346
5.190935
78.134166
80.298735
722
2.368615
3.747567
1.356144
78.790958
83.204458
817
1.945835
5.314043
1.340625
75.411174
82.205092
399
2.909904
5.578827
2.731506
74.698542
83.995945
619
5.511406
5.865634
1.91456
77.099089
79.890662
1,010
2.462273
6.856494
1.947343
78.116048
79.364897
1,109
2.18837
6.056792
2.794778
78.902264
79.163127
917
2.808604
4.436085
4.267536
76.983225
76.253848
608
4.664167
9.953761
2.126575
76.928599
84.072106
588
4.056073
8.139677
2.203049
75.197093
74.416335
1,253
3.440129
7.762261
2.458026
75.682598
83.502552
631
3.765412
6.54531
3.228317
76.301111
83.490127
629
4.22621
7.429741
3.239842
83.725103
79.411395
672
1.83498
11.85286
3.081954
75.322397
83.412678
980
3.332947
6.946914
3.655491
73.749356
65.1977
504
2.055657
5.475028
3.149927
75.559388
84.256981
717
3.071855
6.452024
6.047938
84.996344
82.973666
746
2.35982
5.865513
6.832024
75.247725
77.351762
296
3.033584
6.628802
3.167462
74.32833
78.957063
712
2.287924
8.133875
1.388341
77.147808
78.975343
759
4.461656
6.280399
2.884602
77.356254
80.531645
707
4.840694
5.005076
1.094223
74.853883
67.488008
509
5.015579
7.995649
3.536989
74.636726
66.113985
929
2.177836
3.336819
1.660504
77.205444
79.513659
932
2.373687
4.454108
2.709613
85.859576
78.476875
559
4.070468
7.019139
1.710781
76.908171
74.855892
1,076
2.754814
5.42774
2.330982
75.169287
66.763314
588
3.030966
4.447775
2.844407
75.773308
92.317676
527
1.735249
5.274527
2.179354
77.606447
76.425157
996
3.495895
14.388958
2.17259
78.163784
80.070768
697
2.672635
6.820646
2.255545
79.802157
76.775314
949
2.692231
7.907796
1.260706
74.988041
72.91702
416
3.549662
4.728222
1.935778
77.346576
74.475541
1,110
3.198565
15.04345
2.474141
76.52732
80.061347
650
2.514157
6.753328
5.570914
80.476703
82.15558
1,017
3.711517
6.326953
2.880996
85.625512
74.332794
473
2.630688
15.833159
3.270429
75.184016
74.673576
749
2.417845
11.54094
2.525899
75.401611
80.870202
597
2.139896
4.53844
2.375392
72.851064
81.837688
372
2.84506
3.241748
1.363423
77.523594
73.487071
803
3.482161
7.624078
1.633899
75.962789
69.81884
559
2.134033
5.452769
3.231324
75.566804
69.534814
924
2.15392
3.823722
5.013283
74.297847
75.607528
676
1.844667
4.868904
1.227802
75.78443
81.535298
812
2.138276
7.758004
3.385866
76.520252
70.69652
674
4.92199
6.752583
3.406047
77.91222
75.468858
872
2.590706
4.77881
0.982044
77.148496
75.894304
1,051
3.929955
7.378554
2.728042
76.613556
71.04721
700
2.493592
11.790927
3.178981
84.144163
81.632187
731
2.844382
5.186788
1.389616
85.55961
85.470174
1,394
4.834441
12.538713
4.840821
76.647821
77.173208
858
4.887527
6.098887
1.519447
77.782733
77.629467
805
3.982875
12.727418
1.684474
81.112695
80.709429
947
5.975281
7.032365
1.712008
74.718837
71.681069
694
2.535742
3.34244
1.647654
73.277776
68.796543
611
5.165609
4.122999
2.815551
76.790164
73.19999
731
4.926004
8.3518
2.251393
77.653847
91.545453
690
3.002446
7.169993
2.021395
76.562273
78.725648
End of preview.

No dataset card yet

Downloads last month
3

Space using deepacsr/predictive-maintenance 1