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/KaushikBs/Predictive-Maintenance/engine_data.csv (at revision f98df49aaae633b5dd074fbf6d80cae1292fbf65), [/tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtest.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtrain.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/engine_data.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/ytest.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/ytrain.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/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 1893, 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 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('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 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 1895, 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/KaushikBs/Predictive-Maintenance/engine_data.csv (at revision f98df49aaae633b5dd074fbf6d80cae1292fbf65), [/tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtest.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtrain.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/engine_data.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/ytest.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/49662862598633-config-parquet-and-info-KaushikBs-Predictive-Main-044f83f0/hub/datasets--KaushikBs--Predictive-Maintenance/snapshots/f98df49aaae633b5dd074fbf6d80cae1292fbf65/ytrain.csv (origin=hf://datasets/KaushikBs/Predictive-Maintenance@f98df49aaae633b5dd074fbf6d80cae1292fbf65/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
-0.408247
-0.889612
-0.737179
0.488202
-0.444613
-1.375072
-0.695506
2.115139
-0.080818
3.256567
-1.421639
-0.568779
-0.497782
0.129073
-1.077242
-0.63728
3.341287
0.040831
-0.158294
-1.179806
0.172174
-0.674824
0.000439
0.631885
-0.430631
0.230686
-0.250754
0.850152
-0.779735
-1.813541
-0.755196
-0.359805
-0.104752
0.115529
-0.04025
-0.489087
0.349073
-1.238575
3.21533
-0.787231
0.416278
0.380059
-0.803695
2.143568
2.349092
-1.048563
0.13812
-1.045976
-0.956651
-0.139423
0.737107
-1.03502
1.521238
0.369587
0.054352
0.629979
5.263281
-0.739357
-0.876816
-1.017399
1.363807
1.185763
-0.733337
0.429765
-0.756951
0.692456
-0.225446
0.079526
0.093892
0.440714
-0.776096
-0.001015
-0.900691
1.987719
1.089141
-0.389993
-0.766916
-0.58698
0.696022
1.04015
-0.003193
0.469603
3.324752
0.006153
-0.087412
-1.525158
-0.050246
-0.932528
1.70388
0.823484
-0.296328
-0.030969
0.041079
1.001554
-0.275628
-0.312648
0.863901
-1.263689
-0.00362
1.027572
2.827304
-0.175904
1.942056
2.600322
0.332945
3.453175
0.025187
1.639252
0.33415
-0.674744
-0.281878
-0.955529
-0.156772
0.148667
1.483187
0.463096
-0.211233
-1.294392
-0.551625
-1.168045
-1.322254
-0.594589
1.594708
-0.975558
-0.290786
-0.222122
-1.385675
-1.037497
-0.789155
-0.890484
-0.540336
-1.0418
0.759443
-0.765823
-0.721959
-0.374557
-1.113714
-1.057879
2.311389
0.211243
-0.903636
-0.28557
0.116494
1.25094
-0.77758
-0.948011
-0.254171
-0.156622
1.960834
-0.064457
0.617679
-0.371254
-0.859239
-1.998595
-1.06616
-0.075295
-0.587318
0.198358
0.189061
0.095521
0.146751
0.364404
0.427416
-0.174563
-0.657673
-0.364293
2.885654
-1.087979
-0.550011
1.071323
-0.992934
0.973918
0.037837
0.831542
-1.154375
-0.583575
0.254878
1.02787
-0.394037
1.210531
1.259349
-0.969863
-0.270352
-0.931058
0.034985
-1.829258
-1.169297
-0.675737
0.128668
-0.101968
-0.789751
0.925354
-0.785042
1.278951
-0.302287
-0.907945
0.519153
-0.597638
-0.699237
1.171235
0.953151
-0.50173
-0.572797
0.222371
0.6811
-0.875172
0.619073
-0.217626
-0.593527
0.633762
2.173356
-0.741174
0.724271
-0.769592
1.47634
-1.86859
0.319228
-0.308731
-0.063373
0.58991
0.051219
-0.864563
-0.374671
-0.182885
0.811354
0.181375
-0.397292
1.042692
1.483187
-1.059363
-0.223032
0.557648
-0.187804
-1.451402
0.875093
0.899125
0.415555
3.315453
-0.51483
0.728237
0.617679
-0.679847
-0.509181
-0.555211
-0.269731
-0.075529
-0.60224
-0.803537
0.752479
0.135418
-0.342863
-1.761895
-0.691776
-1.46545
-0.116256
-1.063248
-1.203197
-0.396612
1.132507
-1.486328
-0.046294
-0.750922
-1.166127
2.029899
-0.102335
-1.368609
0.315376
0.704076
-0.928721
2.027217
-0.654469
1.245256
0.6861
-1.369288
1.718192
-1.343843
1.229504
-0.26447
0.260205
0.152312
1.223213
-0.350562
1.162352
-0.775216
-0.368378
-0.081948
-0.953579
-0.249325
0.494568
-0.52147
0.148024
-0.933032
-0.479746
-0.091988
0.084197
0.954024
0.300781
0.643252
-0.473791
-0.061552
1.311578
-1.026946
-0.484865
-0.665201
2.110983
0.447421
-0.788772
-0.09974
-0.938978
-0.801341
-0.415466
0.063148
-0.620893
2.263184
-0.166381
-1.161767
-1.120863
-0.259799
-0.587318
-0.42197
-0.525604
-1.090595
0.85943
-0.048761
-1.5349
-0.886527
0.338018
-1.084695
0.273038
0.053915
1.233234
-0.187408
-0.638408
2.1673
-1.101772
-0.083387
-1.12826
-0.620356
0.176422
0.741237
-0.838065
-1.093157
-0.568664
0.323314
0.088545
-0.173176
1.644567
0.237148
-1.023803
-0.450693
-0.071012
-0.35311
-0.135176
0.297298
1.669719
0.651976
-0.479142
0.151956
-0.09683
0.294496
-0.348557
-0.869908
-0.961614
-0.02206
-0.731148
0.06478
0.002123
0.550357
0.171849
0.247555
-0.454728
-0.06014
-0.102335
1.786316
-0.526845
1.2329
-0.358187
-1.877179
-0.31125
-0.165937
-1.740989
-0.515441
-0.630061
-0.530883
-0.393324
-1.091382
-0.32616
-0.421368
-0.35926
1.441947
1.654797
-0.912882
0.354558
-1.041872
-0.11799
-0.046436
0.729598
-0.621929
-0.954804
-0.478942
0.312825
0.003871
-0.124718
-0.538547
-1.968733
-1.274688
1.313789
0.519726
0.136426
-0.05664
-1.680523
0.377575
-0.666573
-1.41057
0.117773
-0.973433
-0.310602
-0.991229
2.082313
-0.266203
1.490649
2.130682
-0.775385
0.583476
-0.327408
-1.136134
0.360265
-0.758263
0.263415
0.298816
-0.421111
-1.120105
1.516763
0.493128
2.576165
1.581684
-0.256474
0.82919
2.412117
-0.169921
-1.198697
-0.013015
2.087433
-0.405989
0.09912
2.047493
-0.187007
0.938266
-0.142854
-1.43164
0.778096
0.614126
0.26058
-0.054577
-0.587316
-1.429716
2.266622
1.054519
0.84405
-0.841518
-0.447738
-1.918455
0.352803
0.32201
-1.687978
0.610904
-0.390864
-0.479454
-0.158294
-0.201857
-0.185529
-0.478523
-0.623518
-0.488265
-0.363479
0.970381
0.759573
1.259377
0.014534
0.300441
-0.023991
-0.151909
-1.143322
-0.591979
1.762253
1.352369
1.953248
-0.442562
1.505922
-0.785682
0.130879
-1.034704
1.464534
-0.908213
-0.010627
-0.812761
-0.121147
0.1129
-1.06857
0.268546
0.990549
-0.2821
-0.302883
0.053577
-0.091143
0.364384
-0.015828
-0.097072
-0.138941
-1.05618
-1.288678
0.005004
-0.48407
-0.470522
1.494323
-1.880825
-0.538819
-0.682184
-0.621273
0.814238
-0.873298
-0.980067
0.886285
-0.755911
0.838076
0.36042
-0.54698
-0.293306
-0.960382
-1.18691
-0.009341
0.047281
1.218667
0.300166
0.729598
1.160964
-0.904225
-1.160816
-0.328877
0.610113
0.308036
0.102678
2.650414
-0.841426
0.047244
0.661465
-1.001419
-1.749242
-0.217908
-1.063229
-0.13429
-0.098307
-0.855924
0.828734
-0.670096
-0.193391
-0.477872
-0.98247
0.931053
0.888088
-0.44406
-0.891205
-0.181525
0.257453
-0.035183
0.721156
0.571684
-0.321207
0.036861
0.383604
-1.292409
-0.600802
-0.321915
-0.712682
0.216796
0.091981
0.539335
0.061246
-0.168753
1.996483
-0.694786
0.662923
-0.527627
-0.297576
-0.320321
0.143232
-0.806368
-0.979953
-0.650739
-0.304286
-0.035543
3.708609
-0.402147
0.896195
2.072628
-0.867152
-0.643093
-0.850009
-0.767943
0.500401
End of preview.

No dataset card yet

Downloads last month
9

Space using KaushikBs/Predictive-Maintenance 1