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 2 new columns ({'Failure', 'UDI'})

This happened while the csv dataset builder was generating data using

hf://datasets/rajaramsblr/machine-failure-prediction/machine-failure-prediction.csv (at revision 739b98b40192154ad4ab5c5d1b28e1cda6ef5dba), [/tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtest.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtrain.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/machine-failure-prediction.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/machine-failure-prediction.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/ytest.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/ytrain.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/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
              UDI: int64
              Type: string
              Air temperature: double
              Process temperature: double
              Rotational speed: int64
              Torque: double
              Tool wear: int64
              Failure: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1212
              to
              {'Type': Value('string'), 'Air temperature': Value('float64'), 'Process temperature': Value('float64'), 'Rotational speed': Value('int64'), 'Torque': Value('float64'), 'Tool wear': Value('int64')}
              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 2 new columns ({'Failure', 'UDI'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/rajaramsblr/machine-failure-prediction/machine-failure-prediction.csv (at revision 739b98b40192154ad4ab5c5d1b28e1cda6ef5dba), [/tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtest.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtrain.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/machine-failure-prediction.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/machine-failure-prediction.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/ytest.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/81544655349755-config-parquet-and-info-rajaramsblr-machine-failu-1b10991e/hub/datasets--rajaramsblr--machine-failure-prediction/snapshots/739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/ytrain.csv (origin=hf://datasets/rajaramsblr/machine-failure-prediction@739b98b40192154ad4ab5c5d1b28e1cda6ef5dba/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.

Type
string
Air temperature
float64
Process temperature
float64
Rotational speed
int64
Torque
float64
Tool wear
int64
L
300.8
330.037037
1,538
36.1
198
M
303.6
335.592593
1,421
44.8
101
M
298.3
321.148148
1,485
42
117
L
303.3
333.740741
1,592
33.7
14
L
302.4
330.407407
1,865
23.9
129
H
300.5
328.555556
1,397
45.9
210
H
297.7
327.814815
1,440
51.1
191
L
303.7
338.925926
1,335
51.1
161
M
300
327.444444
1,618
36.2
53
M
297.4
322.62963
1,535
34.6
51
H
299.7
325.962963
1,456
40.6
182
L
300.3
335.222222
1,707
33.6
158
M
303.6
340.037037
1,396
38.2
117
L
302.4
335.222222
1,495
36.8
215
L
302
332.62963
1,420
45.9
144
L
300.6
332.259259
1,471
37.9
86
L
297.8
327.814815
1,341
49.2
208
L
298.3
322.62963
1,452
45.5
63
L
300.6
330.407407
1,556
37.7
122
L
299.6
331.888889
1,400
40.8
118
M
298.8
326.333333
1,618
35.1
173
L
299.2
323.37037
1,442
46.5
11
L
303.1
333.37037
1,435
40.1
219
L
298.9
327.444444
1,589
34.2
197
L
303.7
338.925926
1,395
53.9
123
H
298.5
324.111111
1,450
43.9
28
L
297.7
319.666667
1,379
43.3
111
H
299.1
330.407407
1,369
54.5
104
L
301.7
331.518519
1,763
25.9
3
L
297.5
324.851852
1,443
43.5
0
L
297.8
323
1,518
32.5
190
L
299.8
327.444444
1,447
43.1
12
L
303
333.37037
1,511
45.7
184
M
303.8
338.925926
1,555
33.4
128
L
298.6
327.074074
1,325
52.2
127
L
301.6
331.888889
1,564
34.1
150
M
302.5
335.962963
1,298
57.5
57
M
298
322.259259
1,466
42.6
2
L
302.3
334.111111
1,535
41.8
77
M
301.6
330.777778
1,414
49.3
106
M
302.3
335.222222
1,540
28.9
149
M
298.8
325.962963
1,452
48.6
98
L
298.6
327.444444
1,353
62.5
9
L
298.1
324.111111
1,568
32.9
10
L
298.5
327.074074
1,480
38.1
160
L
298.8
325.592593
1,350
52.5
111
L
303.6
337.074074
1,696
30.7
5
M
301.8
331.518519
1,383
45.7
44
L
298.1
319.666667
1,684
33.1
200
L
299.1
323.37037
1,455
39.8
145
L
302.3
333.37037
1,758
24.4
68
L
298.8
331.148148
1,651
33.3
0
L
303.8
339.666667
1,819
23.7
16
M
300.1
333.740741
1,650
33.8
38
M
300.6
328.185185
1,447
42.9
12
L
300.8
335.222222
1,681
31.3
221
M
300.3
327.074074
1,665
31.4
32
H
299.1
328.925926
1,431
49.5
205
M
299.2
325.222222
1,541
36.3
104
L
298.9
323.740741
1,539
45.4
4
L
297.3
323
1,339
52.1
36
L
301
337.074074
1,602
35.9
67
L
300.9
331.518519
1,479
43.3
201
M
298.8
324.481482
1,497
46.8
72
L
299
330.037037
1,520
45
171
L
299.6
332.259259
1,448
46.3
196
L
299.7
325.592593
1,715
27.8
192
L
298.5
328.185185
1,593
35.1
203
M
301.3
332.62963
1,495
40.8
148
M
300.5
326.333333
1,578
30.5
34
M
303.4
338.925926
1,399
48.4
34
M
297
320.777778
1,579
34.1
94
H
301.8
331.148148
1,441
46.3
100
L
300.7
327.444444
1,733
24.8
85
M
300.7
327.444444
1,421
49.8
165
L
299.7
333.37037
1,352
52.1
176
L
295.9
316.333333
1,557
41.1
113
L
301.7
332.62963
1,700
28.7
19
M
297.6
322.62963
1,648
29.1
134
H
298.7
323
1,560
33.3
53
M
297.3
323
1,521
38.2
87
L
295.5
314.851852
1,448
48.9
65
M
303.3
338.555556
1,397
47.1
137
H
302.4
333.37037
1,506
40.8
204
L
301.3
332.62963
1,554
47.7
84
M
300.5
328.925926
1,415
43.5
98
M
301.3
330.407407
1,577
48.3
78
L
300.4
327.814815
1,488
35.7
177
L
297
320.777778
1,500
39.9
175
L
300.3
334.481482
1,548
32.2
25
L
299.9
333.740741
1,647
27.5
26
L
300.8
335.222222
1,432
45.8
6
M
298.2
324.481482
1,456
41.2
150
L
296.8
320.777778
1,565
39.5
124
L
300.4
327.814815
1,534
42.5
127
L
302.3
331.888889
1,377
47.3
22
L
297.9
325.592593
1,595
32
32
M
299.9
333.37037
1,579
35.5
162
L
300.2
333.740741
1,487
36.9
71
L
299.8
328.555556
1,553
36.6
157
End of preview.

No dataset card yet

Downloads last month
5