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/nbhoite9988/predictive-maintenance/engine_data.csv (at revision 3b878d700c4870b1e066c65a953e6a12051b361d), [/tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/Xtest.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/Xtrain.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/engine_data.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/ytest.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/ytrain.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/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 1 new columns ({'Engine Condition'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/nbhoite9988/predictive-maintenance/engine_data.csv (at revision 3b878d700c4870b1e066c65a953e6a12051b361d), [/tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/Xtest.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/Xtrain.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/engine_data.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/ytest.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/68729174749395-config-parquet-and-info-nbhoite9988-predictive-ma-99d63e05/hub/datasets--nbhoite9988--predictive-maintenance/snapshots/3b878d700c4870b1e066c65a953e6a12051b361d/ytrain.csv (origin=hf://datasets/nbhoite9988/predictive-maintenance@3b878d700c4870b1e066c65a953e6a12051b361d/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
682
2.391656
4.617196
2.848982
76.272417
69.884609
1,016
4.148456
4.783201
3.325828
75.966982
69.488137
658
3.434232
3.680896
1.678708
88.089916
78.704806
950
3.212452
7.268103
3.023281
76.398927
88.040599
1,125
1.90984
2.99986
3.642712
78.122941
88.921108
878
2.622738
5.840776
2.113773
75.037985
76.660845
954
2.016859
3.514317
2.123193
78.44476
74.049494
1,076
2.703888
11.933038
1.312618
76.644698
82.841822
861
4.716876
8.25614
1.669154
77.531033
72.802941
673
1.826226
8.79934
1.239882
76.365291
83.423228
630
2.127567
3.706368
0.696315
76.282148
88.231784
1,056
2.794224
3.956211
3.089016
80.614085
80.653696
518
3.191471
5.888995
3.799506
85.055691
78.114869
746
2.890607
6.407184
0.691966
74.823327
66.491869
768
1.741205
6.508534
1.37171
82.978832
83.580243
628
4.039195
6.183577
1.520119
77.302128
84.779828
1,023
2.008806
6.63691
3.409817
86.485544
77.354678
1,312
5.963439
7.563578
5.931953
77.738876
88.661972
881
2.611563
5.870779
1.347794
77.170897
79.376553
1,035
2.904718
5.525722
2.151997
75.828933
75.076425
901
4.94303
13.686792
5.063884
85.377813
74.991807
727
1.844686
4.020841
1.589152
84.129768
80.21459
1,049
3.581045
11.431927
2.139265
75.666154
73.470076
1,143
2.979995
3.989272
2.608236
76.344126
80.913183
895
3.743431
4.018061
2.700538
76.395981
86.87131
823
3.254865
4.024119
2.269803
76.959413
71.551023
634
3.505142
7.167421
2.440673
78.11833
80.720463
900
2.950569
5.612963
2.452604
78.078091
73.209991
755
3.211365
6.860397
4.846926
76.390829
80.887222
482
2.70487
7.348635
3.410127
76.430289
85.991305
1,219
3.534512
5.324804
1.839234
76.103888
86.81848
1,583
2.641846
9.120585
1.685172
84.672649
72.482067
732
5.240567
5.32507
2.4592
76.213086
67.037964
558
4.600099
6.896476
1.344886
77.97387
90.723471
800
2.948526
5.124718
2.621079
76.801706
67.220535
546
3.010989
8.684085
1.653695
86.72938
75.405237
877
2.98616
6.472393
2.954737
77.820133
73.064765
840
2.183466
5.897763
4.937683
74.015783
71.386593
1,602
4.42926
3.567424
2.615359
78.49163
69.694727
1,026
4.222344
7.791029
5.78875
76.053238
82.986918
713
4.412861
6.358629
1.708449
76.58215
73.035268
1,008
2.831192
4.959114
3.277948
76.747634
83.254905
800
2.753325
4.990054
2.667111
84.196141
74.918339
1,095
1.780946
6.519417
1.560544
74.020249
91.095461
920
2.398434
6.275892
1.520309
76.795356
87.633042
616
4.576592
8.535923
0.917569
83.023504
70.079149
469
4.556005
4.457114
2.637443
76.719723
66.239995
742
3.183236
8.388035
3.374432
73.703552
91.621813
604
2.916907
3.773929
2.460709
78.485523
80.078231
757
3.79421
11.595435
2.744146
81.072243
87.653463
600
3.266456
14.467166
5.183125
77.456706
83.28283
904
3.706642
4.767627
3.305164
78.003686
81.487191
1,260
3.07494
5.396676
2.968576
75.731465
74.80933
769
4.08716
14.458675
1.105995
76.651887
82.800258
617
2.898176
3.381648
0.201356
77.669729
80.60919
1,144
3.169917
3.52275
4.036273
83.326171
82.721483
989
3.097286
4.820365
2.300192
75.8582
79.923514
864
4.17359
6.185514
2.557423
74.785096
82.940194
842
2.056018
6.844785
2.57423
76.320227
74.320297
463
4.904157
3.436354
2.42741
78.090931
78.781136
467
2.467498
8.664304
1.819065
76.380675
73.695699
670
4.753724
8.440491
4.138021
85.561601
69.837239
665
1.924128
4.92351
1.466578
76.732606
71.23255
677
2.508777
7.950927
1.715125
84.152976
82.737982
932
4.616114
4.902441
1.729716
79.365938
83.031109
681
3.846053
8.285656
1.006465
85.011132
67.450552
893
2.505121
7.597504
2.584571
83.410036
82.274217
758
2.750955
1.226343
1.015934
81.76118
81.688022
828
3.244163
2.019875
2.733952
75.57958
69.663483
475
4.572999
4.625492
1.856133
74.607733
76.597121
803
3.385861
6.169165
1.735002
76.92743
71.596875
946
1.913203
10.983899
1.418462
74.586625
69.112819
638
2.208983
12.293628
2.33179
75.137445
82.889314
668
3.114031
7.5594
2.143791
75.896249
77.138517
717
3.03111
7.099309
1.950792
75.686064
81.907803
1,000
3.930661
7.364337
2.284601
75.826978
69.544216
827
4.218283
3.044069
3.34337
76.252321
74.478963
886
3.631694
1.99935
2.976567
76.440193
75.463753
834
1.918167
6.782092
1.319241
74.105412
86.711602
736
4.351918
4.229203
2.68774
76.701076
83.292772
1,179
5.15925
3.894343
6.12343
76.230901
70.938536
519
4.637965
11.322213
1.812411
76.859327
68.579431
432
5.614344
5.323786
6.799153
76.949077
69.400039
505
3.576976
9.374167
2.048024
76.71482
78.784206
1,245
3.237114
10.323687
1.263799
77.117159
79.211724
567
3.295724
8.562501
1.278599
76.83681
77.780911
602
2.078704
7.065846
2.715472
76.628987
81.261539
1,029
2.528493
8.954362
2.716114
75.952884
76.623336
1,110
2.317743
4.487701
3.541806
76.835898
78.765609
1,489
5.020694
5.685678
1.736454
77.576042
86.366622
695
3.637845
7.270952
2.92459
76.19819
71.963125
1,178
2.881279
5.288614
2.079024
83.279825
81.118633
562
4.150302
4.801896
2.140263
76.168602
72.330274
1,041
4.211048
5.424243
1.414678
77.093633
80.054223
782
4.040201
8.2209
2.007361
77.775313
80.840067
445
2.68724
5.760546
1.600305
78.336973
79.023435
936
3.364814
6.182248
4.417288
75.491516
82.580053
688
3.491281
5.472862
2.73685
78.945027
78.306921
673
4.506046
9.184261
1.272029
76.30438
84.415515
1,347
2.414643
4.876242
1.457513
75.263159
81.567636
End of preview.

No dataset card yet

Downloads last month
8

Spaces using nbhoite9988/predictive-maintenance 2