Dataset Preview
Full Screen
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 ({'Salary'}) and 19 missing columns ({'HmRun', 'Runs', 'RBI', 'CRBI', 'DivisionW', 'PutOuts', 'Walks', 'AtBat', 'Errors', 'Assists', 'LeagueN', 'CRuns', 'Years', 'Hits', 'CWalks', 'NewLeagueN', 'CHmRun', 'CHits', 'CAtBat'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Adapting/MLO/hitters.y.csv (at revision f8cbdcb404b37b5804966dd9851064e01db9f4e6)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Salary: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 374
              to
              {'AtBat': Value(dtype='int64', id=None), 'Hits': Value(dtype='int64', id=None), 'HmRun': Value(dtype='int64', id=None), 'Runs': Value(dtype='int64', id=None), 'RBI': Value(dtype='int64', id=None), 'Walks': Value(dtype='int64', id=None), 'Years': Value(dtype='int64', id=None), 'CAtBat': Value(dtype='int64', id=None), 'CHits': Value(dtype='int64', id=None), 'CHmRun': Value(dtype='int64', id=None), 'CRuns': Value(dtype='int64', id=None), 'CRBI': Value(dtype='int64', id=None), 'CWalks': Value(dtype='int64', id=None), 'LeagueN': Value(dtype='int64', id=None), 'DivisionW': Value(dtype='int64', id=None), 'PutOuts': Value(dtype='int64', id=None), 'Assists': Value(dtype='int64', id=None), 'Errors': Value(dtype='int64', id=None), 'NewLeagueN': Value(dtype='int64', id=None)}
              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 1321, 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 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 ({'Salary'}) and 19 missing columns ({'HmRun', 'Runs', 'RBI', 'CRBI', 'DivisionW', 'PutOuts', 'Walks', 'AtBat', 'Errors', 'Assists', 'LeagueN', 'CRuns', 'Years', 'Hits', 'CWalks', 'NewLeagueN', 'CHmRun', 'CHits', 'CAtBat'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Adapting/MLO/hitters.y.csv (at revision f8cbdcb404b37b5804966dd9851064e01db9f4e6)
              
              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.

AtBat
int64
Hits
int64
HmRun
int64
Runs
int64
RBI
int64
Walks
int64
Years
int64
CAtBat
int64
CHits
int64
CHmRun
int64
CRuns
int64
CRBI
int64
CWalks
int64
LeagueN
int64
DivisionW
int64
PutOuts
int64
Assists
int64
Errors
int64
NewLeagueN
int64
315
81
7
24
38
39
14
3,449
835
69
321
414
375
1
1
632
43
10
1
479
130
18
66
72
76
3
1,624
457
63
224
266
263
0
1
880
82
14
0
496
141
20
65
78
37
11
5,628
1,575
225
828
838
354
1
0
200
11
3
1
321
87
10
39
42
30
2
396
101
12
48
46
33
1
0
805
40
4
1
594
169
4
74
51
35
11
4,408
1,133
19
501
336
194
0
1
282
421
25
0
185
37
1
23
8
21
2
214
42
1
30
9
24
1
0
76
127
7
0
298
73
0
24
24
7
3
509
108
0
41
37
12
0
1
121
283
9
0
323
81
6
26
32
8
2
341
86
6
32
34
8
1
1
143
290
19
1
401
92
17
49
66
65
13
5,206
1,332
253
784
890
866
0
0
0
0
0
0
574
159
21
107
75
59
10
4,631
1,300
90
702
504
488
0
0
238
445
22
0
202
53
4
31
26
27
9
1,876
467
15
192
186
161
1
1
304
45
11
1
418
113
13
48
61
47
4
1,512
392
41
205
204
203
1
0
211
11
7
1
239
60
0
30
11
22
6
1,941
510
4
309
103
207
0
0
121
151
6
0
196
43
7
29
27
30
13
3,231
825
36
376
290
238
1
0
80
45
8
1
568
158
20
89
75
73
15
8,068
2,273
177
1,045
993
732
1
1
105
290
10
1
190
46
2
24
8
15
5
479
102
5
65
23
39
0
1
102
177
16
0
127
32
8
16
22
14
8
727
180
24
67
82
56
1
1
202
22
2
1
413
92
16
72
48
65
1
413
92
16
72
48
65
1
0
280
9
5
1
426
109
3
55
43
62
1
426
109
3
55
43
62
0
1
361
22
2
1
472
116
16
60
62
74
6
1,924
489
67
242
251
240
1
1
518
55
3
1
629
168
18
73
102
40
18
8,424
2,464
164
1,008
1,072
402
0
0
1,067
157
14
0
587
163
4
92
51
70
6
2,695
747
17
442
198
317
0
0
434
9
3
0
324
73
4
32
18
22
7
1,931
491
13
291
108
180
1
0
222
3
3
1
474
129
10
50
56
40
10
2,331
604
61
246
327
166
1
1
732
83
13
1
550
152
6
92
37
81
5
2,308
633
32
349
182
308
1
1
262
329
16
1
513
137
20
90
95
90
14
5,201
1,382
166
763
734
784
0
1
267
5
3
0
419
108
6
55
36
22
3
591
149
8
80
46
31
1
1
226
7
4
1
583
168
17
83
80
56
5
1,646
452
44
219
208
136
0
0
109
292
25
0
204
49
6
23
25
12
7
1,309
308
27
126
132
66
0
1
419
46
5
0
379
106
10
38
60
30
14
6,207
1,906
146
859
803
571
1
1
72
170
24
1
268
60
5
24
25
15
2
350
78
5
34
29
18
1
1
442
59
6
1
181
41
1
15
21
33
2
232
50
4
20
29
45
0
0
326
29
5
0
217
46
7
32
19
9
4
694
160
32
86
76
32
0
0
307
25
1
0
254
68
2
28
26
22
6
999
236
21
108
117
118
0
0
359
30
4
0
416
132
7
57
49
33
3
932
273
24
113
121
80
1
1
73
177
18
1
205
57
8
34
32
9
5
756
192
32
117
107
51
0
0
58
4
4
0
526
146
13
71
70
84
6
2,648
715
77
352
342
289
1
1
303
9
9
1
457
101
14
42
63
22
17
6,521
1,767
281
1,003
977
619
0
1
389
39
4
0
214
53
2
30
29
23
2
226
59
2
32
32
27
1
0
109
7
3
1
591
168
19
80
72
39
9
4,478
1,307
113
634
563
319
0
1
67
147
4
0
403
101
12
45
53
39
12
5,150
1,429
166
747
666
526
0
0
316
6
5
0
405
102
18
49
85
20
6
950
231
29
99
138
64
1
1
161
10
3
1
244
58
9
28
25
35
4
1,335
333
49
164
179
194
1
1
142
14
2
1
313
78
6
32
41
12
12
3,742
968
35
409
321
170
1
1
106
206
7
1
627
177
25
98
81
70
6
3,210
927
133
529
472
313
0
0
240
482
13
0
416
113
24
58
69
16
1
416
113
24
58
69
16
0
0
203
70
10
0
155
44
6
21
23
15
16
6,631
1,634
98
698
661
777
1
0
53
88
3
1
236
56
0
27
15
11
4
1,115
270
1
116
64
57
0
1
125
199
13
0
216
53
1
31
15
22
4
926
210
9
118
69
114
1
1
73
152
11
1
585
139
31
93
94
62
17
7,546
1,982
315
1,141
1,179
727
0
0
0
0
0
0
199
53
5
29
22
21
3
514
120
8
57
40
39
0
1
152
3
5
0
521
142
20
67
86
45
4
815
205
22
99
103
78
0
0
107
242
23
0
311
81
3
42
30
26
17
8,247
2,198
100
950
909
690
1
1
153
223
10
1
512
131
26
69
96
52
14
5,347
1,397
221
712
815
548
0
1
119
216
12
0
507
122
29
78
85
91
18
7,761
1,947
347
1,175
1,152
1,380
0
0
808
108
2
0
529
137
26
86
97
97
15
6,661
1,785
291
1,082
949
989
0
0
280
10
5
0
424
119
6
57
46
13
9
3,651
1,046
32
461
301
112
0
0
224
286
8
1
351
97
4
55
29
39
4
1,258
353
16
196
110
117
1
1
226
7
3
0
388
103
15
59
47
39
6
2,174
555
80
285
274
186
0
1
182
9
4
0
339
96
4
37
29
23
4
1,064
290
11
123
108
55
0
1
104
213
9
0
255
70
7
49
35
43
15
6,311
1,661
154
1,019
608
820
1
0
51
54
8
1
677
238
31
117
113
53
5
2,223
737
93
349
401
171
0
0
1,377
100
6
0
614
163
29
89
83
75
11
5,017
1,388
266
813
822
617
1
1
303
6
6
1
329
83
9
50
39
56
9
3,828
948
145
575
528
635
0
1
276
6
2
0
637
174
31
89
116
56
14
6,727
2,024
247
978
1,093
495
1
1
278
9
9
1
280
82
16
44
45
47
2
428
113
25
61
70
63
0
0
148
4
2
0
155
41
12
21
29
22
16
5,409
1,338
181
746
805
875
0
1
165
9
1
0
458
114
13
67
57
48
4
1,350
298
28
160
123
122
0
1
246
389
18
0
314
83
13
39
46
16
5
1,457
405
28
156
159
76
0
1
533
40
4
0
475
123
27
76
93
72
4
1,810
471
108
292
343
267
1
0
226
10
6
1
317
78
7
35
35
32
1
317
78
7
35
35
32
0
0
45
122
26
0
511
138
25
76
96
61
3
592
164
28
87
110
71
0
1
157
7
8
0
382
119
13
54
58
36
12
2,133
594
41
287
294
227
1
1
59
156
9
1
565
148
24
90
104
77
14
7,287
2,083
305
1,135
1,234
791
0
0
292
9
5
0
415
115
27
97
71
68
3
711
184
45
156
119
99
1
1
274
2
7
1
424
110
15
70
47
36
7
2,130
544
38
335
174
258
1
1
292
6
3
1
495
151
17
61
84
78
10
5,624
1,679
275
884
1,015
709
0
0
1,045
88
13
0
233
49
2
41
23
18
8
1,350
336
7
166
122
106
0
0
102
132
10
0
566
154
22
76
84
43
14
6,100
1,583
131
743
693
300
0
1
316
439
10
0
641
198
31
101
108
41
5
2,129
610
92
297
319
117
0
0
269
17
10
0
215
51
4
19
18
11
1
215
51
4
19
18
11
0
0
116
5
12
0
441
128
16
70
73
80
14
6,675
2,095
209
1,072
1,050
695
0
1
97
218
16
0
325
76
16
33
52
37
5
1,506
351
71
195
219
214
1
1
726
87
3
0
490
125
24
81
105
62
13
6,063
1,646
271
847
999
680
1
0
869
62
8
1
574
152
31
91
101
64
3
985
260
53
148
173
95
1
1
1,253
111
11
1
596
171
34
91
108
52
6
2,862
728
107
361
401
224
0
1
118
334
21
0
472
118
12
63
54
30
4
793
187
14
102
80
50
0
1
228
377
26
0
283
77
14
45
47
26
16
6,840
1,910
259
915
1,067
546
0
1
144
6
5
0
408
94
4
42
36
66
9
3,573
866
59
429
365
410
1
1
282
487
19
1
327
85
3
30
44
20
8
2,140
568
16
216
208
93
0
0
91
185
12
0
370
96
21
49
46
60
15
6,986
1,972
231
1,070
955
921
1
0
137
5
9
1
354
77
16
36
55
41
20
8,716
2,172
384
1,172
1,267
1,057
1
1
83
174
16
1
539
139
5
93
58
69
5
1,469
369
12
247
126
198
0
1
462
9
7
0
340
84
11
62
33
47
5
1,516
376
42
284
141
219
1
0
185
8
4
0
510
126
2
42
44
35
11
5,562
1,578
44
703
519
256
1
1
207
358
20
1
282
78
13
37
51
29
5
1,649
453
73
211
280
138
0
1
670
57
5
0
380
120
5
54
51
31
8
3,118
900
92
444
419
240
0
1
237
8
1
0
584
158
15
70
84
42
5
2,358
636
58
265
316
134
1
0
331
20
4
1
570
169
21
72
88
38
7
3,754
1,077
140
492
589
263
0
1
295
15
5
0
306
104
14
50
58
25
7
2,954
822
55
313
377
187
1
0
116
222
15
1
End of preview.
README.md exists but content is empty.
Downloads last month
50