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/subhradasgupta/predictive_maintenance/engine_data.csv (at revision 5de84fa5c12df3e74cd6741a719c281f7e62456f), [/tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtest.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtrain.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/engine_data.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/input.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/input.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/ytest.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/ytrain.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/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('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 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/subhradasgupta/predictive_maintenance/engine_data.csv (at revision 5de84fa5c12df3e74cd6741a719c281f7e62456f), [/tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtest.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtrain.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/engine_data.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/engine_data.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/input.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/input.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/ytest.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/45220388977858-config-parquet-and-info-subhradasgupta-predictive-3f78d877/hub/datasets--subhradasgupta--predictive_maintenance/snapshots/5de84fa5c12df3e74cd6741a719c281f7e62456f/ytrain.csv (origin=hf://datasets/subhradasgupta/predictive_maintenance@5de84fa5c12df3e74cd6741a719c281f7e62456f/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
-1.195622
-1.334199
-1.377908
-0.001177
-0.642015
-0.544609
-0.885228
1.686487
0.164052
0.324513
2.094579
0.950843
-0.627189
0.035496
-0.247846
-0.671022
-0.006827
0.523481
0.909822
1.843708
-1.175555
0.29687
-0.60815
1.729269
-0.129811
-0.693428
-0.591488
-0.001154
-0.383624
-0.081509
0.352609
-0.192912
-0.57353
-0.55137
-0.10455
1.272544
-0.122331
0.745381
-0.228713
-0.599209
1.197178
-1.007466
-1.352689
0.115994
-0.352176
-1.228834
1.523221
-0.076887
2.843241
-0.361036
0.312944
-1.372566
2.713977
-0.839797
-0.466383
0.436814
-0.569155
1.035601
-0.182588
1.674958
-0.937583
0.860159
-0.815341
0.274389
-0.189059
2.137199
0.158145
1.390474
-0.151649
0.579948
0.889001
0.574299
-1.2218
-1.186544
0.089072
-0.678482
-1.141503
0.264456
0.143186
0.946734
-1.303956
0.308028
-0.090133
1.094281
-0.084935
-1.284886
-0.319393
0.929727
-1.333627
0.616047
-0.612231
-0.249288
-0.024485
0.543796
-0.249586
-1.308602
0.849987
1.389963
0.929335
-0.303506
-0.623034
-0.020127
-1.266676
-0.953521
-0.699203
0.569039
-0.712187
1.137063
-0.088674
2.055763
-1.268941
-1.058286
-0.58793
-0.994769
-0.851571
0.168858
1.189489
-0.325105
-1.416802
-1.812495
0.143186
-0.024186
-0.749374
3.666815
-1.12762
-0.695856
0.995835
-0.250586
0.179563
-1.143838
1.041005
1.362077
1.698896
1.278327
-0.809394
-1.223233
-0.319237
-1.157481
0.10205
1.59458
-1.763508
-0.15884
-0.050148
-0.339044
0.849987
-0.715496
0.19933
0.836503
-0.611167
-1.64501
-0.069976
-1.268469
-0.618346
3.573598
-0.808368
0.679858
-1.33399
-1.03922
0.472417
0.990529
0.238499
-1.874069
-1.363908
-1.085553
0.4048
0.753622
-1.03457
-1.241799
0.300253
-0.879808
-0.648418
-0.787937
-0.741647
0.807763
4.750482
-1.03677
-0.464707
-0.156864
-0.156546
0.905935
-0.010141
-0.063284
-0.174116
0.58739
-0.593001
0.321838
0.206761
1.549711
-0.385361
-0.071901
1.229662
1.068001
-0.25696
-1.383864
-1.150779
-1.150497
-0.455374
0.318167
0.588209
0.04197
1.651316
1.317635
-0.450709
-0.94363
0.210501
0.775931
0.817021
-0.347486
-0.269975
-0.968304
0.681701
-0.581448
-0.32536
0.291801
-0.210738
-0.213131
-0.283138
-0.3431
-0.220994
0.376044
-0.120835
-0.407408
-0.040058
-1.061155
-0.351863
1.430522
-0.821267
-1.179382
-0.38037
0.887469
-1.554988
3.390149
-0.600328
-0.670179
-0.750599
0.43664
0.464211
1.795353
-0.28236
-1.204432
1.336147
-0.87688
-1.513743
0.365533
-0.487416
-0.973956
0.240418
-3.154824
-0.560206
-0.813153
-0.901356
-0.655444
1.171601
1.260578
-0.387243
0.53962
0.551488
0.212734
0.22172
-0.479132
-0.600621
0.644026
-0.138389
-0.286739
0.831289
0.697831
-0.068746
-0.558341
0.048629
-0.809315
-0.787996
-0.096311
-0.93811
-0.79791
-0.418698
0.060677
1.429639
-0.222832
2.123784
1.42489
3.205515
1.479891
-0.851571
1.463914
0.354153
-0.625276
-0.238092
-1.117103
1.474515
0.640751
-0.690011
-0.76244
1.901891
-1.713705
-0.511259
1.440918
0.145317
-0.178977
0.406676
-0.030572
-1.390086
-0.744698
0.092838
0.100918
-1.293508
-0.588168
-1.012377
-0.724984
0.690473
0.660305
-0.070443
0.71307
1.399721
0.873424
-0.811404
0.400307
-0.340933
1.307106
1.455817
-0.338762
1.401973
0.81464
-0.186129
-0.738271
0.606908
-0.80088
0.273543
-0.462508
0.631119
0.135815
0.797632
-0.540393
3.593528
3.283589
-0.976821
0.75372
-1.367647
-0.566504
-0.009092
0.822356
2.899686
-0.515542
-0.073715
-0.967246
0.576351
2.204028
-0.22793
-0.171483
0.33765
0.693301
3.072726
2.863187
3.252896
0.721058
0.565771
-1.121164
-1.631044
0.055262
-1.182649
-1.31281
3.617356
-0.709131
4.009367
-0.639186
1.133751
1.268524
-0.930104
1.571292
-0.405498
1.260545
-0.370066
0.600827
-0.61971
-0.323225
-0.580628
-0.943429
0.009331
0.186046
-1.244238
0.356425
1.505397
0.595153
1.876771
0.117489
-0.2607
-1.198417
-1.673553
-1.122258
-0.292806
0.692102
-0.829132
-1.088196
-0.083043
-0.836654
-0.943861
-0.777371
-0.488821
0.600795
-0.809541
-1.12689
2.519514
-0.872886
1.631582
-0.190545
-1.105288
0.935548
-0.635717
-1.586648
0.262856
-1.525713
-0.848926
-0.44626
-0.191263
-0.507842
1.960675
0.894233
0.017912
4.027022
0.310159
0.713344
-0.492561
0.277183
-0.662262
-0.154939
-0.409257
-0.824783
0.22172
0.554207
-0.418289
-0.008878
-0.102682
-0.438211
0.173104
1.339367
-0.34763
2.857058
-0.907137
1.990486
-0.896447
-0.226085
0.448166
1.523275
-0.576271
-0.533428
-0.541176
-1.039124
0.437664
-0.16394
-0.834362
0.839895
-0.634669
0.499573
-0.189244
-0.762667
-0.539997
0.071875
0.69666
0.947698
-1.337841
-0.707396
-0.054192
0.048772
-1.083431
-0.297065
-0.786944
-0.673254
-0.283661
-2.330129
-0.687024
0.963273
-0.452467
-0.658289
-0.755604
-0.353353
-1.322771
0.269121
1.805824
-0.715195
-0.587234
0.894619
2.880638
1.290225
1.12172
3.086453
-0.048258
0.999268
-1.550892
-0.860585
0.139807
-0.863283
-0.525339
-0.707942
-1.348949
-0.868822
-0.730698
0.669264
-0.081066
1.540259
-1.09839
-0.548617
-0.970557
-1.402723
-0.144901
0.402407
-1.247977
0.404394
-0.356642
4.331676
-0.997876
-1.906232
-1.322771
0.152321
-0.320921
-0.277488
0.974738
-0.307164
-0.294357
0.256114
-0.218213
0.189443
-1.059287
-0.796508
-0.14103
-0.470221
-0.918151
-0.846113
-0.727645
-0.3259
0.038475
0.284984
0.438389
1.173971
-1.092762
0.915191
-0.38411
-0.633335
-0.03366
0.397848
-0.264145
-1.202496
-0.14103
-0.70547
0.041088
-1.553214
0.027511
-0.939431
-0.152249
-0.48767
0.356655
0.55627
-0.330727
0.150865
-0.814174
-0.624889
0.255374
0.983636
-0.962824
0.174098
0.303993
-0.001807
-0.410798
-1.344493
0.107076
-0.65955
0.087091
0.967003
-0.617098
-1.212672
-0.645232
-0.340624
1.29501
2.431747
2.819989
0.222408
0.071627
-0.680841
0.636825
-1.360734
2.823489
-0.755487
-0.382799
-1.178192
-0.765558
-0.847065
0.519686
-0.247249
0.716772
-0.646442
0.472279
0.315301
-0.239712
0.315139
-0.736516
0.063167
-0.937583
0.567263
0.191381
-0.793617
-0.983511
-0.649436
End of preview.
README.md exists but content is empty.
Downloads last month
13

Space using subhradasgupta/predictive_maintenance 1