Dataset Preview
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 ({'UDI', 'Failure'})

This happened while the csv dataset builder was generating data using

hf://datasets/amit14official/machine-failure-prediction/machine-failure-prediction.csv (at revision 42e6aa1039d59fd9ad172b310fa5a5703cd33b41)

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

No dataset card yet

Downloads last month
12