Football
Collection
1 item
•
Updated
•
1
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 24 new columns ({'IntTD', 'KR TD', 'RecTD', 'RshTD', 'XPA', 'Season', 'Tm', 'PR TD', 'FGA', 'G', 'FGM', 'GS', 'OthTD', 'Pts/G', 'Age', 'Unnamed: 0', 'XPM', 'AllTD', 'D2P', '2PA', 'FblTD', 'Sfty', 'Pts', '2PM'}) and 9 missing columns ({'3Cone', 'School', '40yd', 'Ht', 'Wt', 'Broad Jump', 'Shuttle', 'Vertical', 'Bench'}).
This happened while the csv dataset builder was generating data using
hf://datasets/michaelmallari/nfl/nfl-players-1922-2022.csv (at revision 0ea427a51bec7b921caa40cb0de14934a4f59d8a)
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
Unnamed: 0: int64
Season: int64
Player: string
Tm: string
Age: double
Pos: string
G: double
GS: double
RshTD: double
RecTD: double
PR TD: double
KR TD: double
FblTD: double
IntTD: double
OthTD: double
AllTD: double
2PM: double
2PA: double
D2P: double
XPM: double
XPA: double
FGM: double
FGA: double
Sfty: double
Pts: double
Pts/G: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3090
to
{'Player': Value(dtype='string', id=None), 'Pos': Value(dtype='string', id=None), 'School': Value(dtype='string', id=None), 'Ht': Value(dtype='string', id=None), 'Wt': Value(dtype='int64', id=None), '40yd': Value(dtype='float64', id=None), 'Vertical': Value(dtype='float64', id=None), 'Bench': Value(dtype='float64', id=None), 'Broad Jump': Value(dtype='float64', id=None), '3Cone': Value(dtype='float64', id=None), 'Shuttle': Value(dtype='float64', 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 24 new columns ({'IntTD', 'KR TD', 'RecTD', 'RshTD', 'XPA', 'Season', 'Tm', 'PR TD', 'FGA', 'G', 'FGM', 'GS', 'OthTD', 'Pts/G', 'Age', 'Unnamed: 0', 'XPM', 'AllTD', 'D2P', '2PA', 'FblTD', 'Sfty', 'Pts', '2PM'}) and 9 missing columns ({'3Cone', 'School', '40yd', 'Ht', 'Wt', 'Broad Jump', 'Shuttle', 'Vertical', 'Bench'}).
This happened while the csv dataset builder was generating data using
hf://datasets/michaelmallari/nfl/nfl-players-1922-2022.csv (at revision 0ea427a51bec7b921caa40cb0de14934a4f59d8a)
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.
Player
string | Pos
string | School
string | Ht
string | Wt
int64 | 40yd
float64 | Vertical
float64 | Bench
float64 | Broad Jump
float64 | 3Cone
float64 | Shuttle
float64 |
|---|---|---|---|---|---|---|---|---|---|---|
John Abraham
|
OLB
|
South Carolina
|
6-4
| 252
| 4.55
| null | null | null | null | null |
Shaun Alexander
|
RB
|
Alabama
|
6-0
| 218
| 4.58
| null | null | null | null | null |
Darnell Alford
|
OT
|
Boston Col.
|
6-4
| 334
| 5.56
| 25
| 23
| 94
| 8.48
| 4.98
|
Kyle Allamon
|
TE
|
Texas Tech
|
6-2
| 253
| 4.97
| 29
| null | 104
| 7.29
| 4.49
|
Rashard Anderson
|
CB
|
Jackson State
|
6-2
| 206
| 4.55
| 34
| null | 123
| 7.18
| 4.15
|
Jake Arians
|
K
|
Ala-Birmingham
|
5-10
| 202
| null | null | null | null | null | null |
LaVar Arrington
|
OLB
|
Penn State
|
6-3
| 250
| 4.53
| null | null | null | null | null |
Corey Atkins
|
OLB
|
South Carolina
|
6-0
| 237
| 4.72
| 31
| 21
| 112
| 7.96
| 4.39
|
Kyle Atteberry
|
K
|
Baylor
|
6-0
| 167
| null | null | null | null | null | null |
Reggie Austin
|
CB
|
Wake Forest
|
5-9
| 175
| 4.44
| 35
| 17
| 119
| 7.03
| 4.14
|
John Baker
|
P
|
North Texas
|
6-3
| 227
| null | null | null | null | null | null |
Mark Baniewicz
|
OT
|
Syracuse
|
6-6
| 312
| 5.34
| 28
| 20
| 96
| 7.72
| 4.73
|
Rashidi Barnes
|
S
|
Colorado
|
6-0
| 208
| 4.62
| 35
| 10
| 114
| 6.92
| 4.32
|
David Barrett
|
CB
|
Arkansas
|
5-10
| 199
| 4.44
| 37.5
| 16
| 116
| 6.81
| 4.04
|
William Bartee
|
CB
|
Oklahoma
|
6-1
| 192
| 4.43
| 38.5
| null | 124
| 6.7
| 3.99
|
Andrew Bayes
|
P
|
East Carolina
|
6-2
| 200
| null | null | null | null | null | null |
Terrance Beadles
|
OG
|
Ark-Pine Bluff
|
6-3
| 312
| 5.19
| null | 29
| null | null | null |
Robert Bean
|
CB
|
Mississippi State
|
5-11
| 178
| 4.5
| 34.5
| null | 122
| 6.87
| 4.2
|
Anthony Becht
|
TE
|
West Virginia
|
6-6
| 270
| 4.78
| 33.5
| null | 123
| 6.94
| 4.08
|
Matt Beck
|
ILB
|
California
|
6-3
| 234
| 4.65
| null | null | null | null | null |
Rogers Beckett
|
S
|
Marshall
|
6-1
| 207
| 4.62
| 39.5
| 15
| 119
| 6.48
| 4.29
|
Brad Bedell
|
OG
|
Colorado
|
6-4
| 302
| 5.07
| 31.5
| 17
| 103
| 7.76
| 4.58
|
Marcus Bell
|
ILB
|
Arizona
|
6-2
| 237
| 4.78
| 31.5
| 21
| 111
| 7.17
| 4.33
|
Gary Berry
|
S
|
Ohio State
|
5-11
| 204
| 4.55
| null | null | null | null | null |
Michael Boireau
|
DE
|
Miami (FL)
|
6-4
| 274
| 5.09
| 29
| 26
| 105
| 7.68
| 4.49
|
Matt Bowen
|
S
|
Iowa
|
6-1
| 201
| 4.49
| 33
| 12
| 115
| 7.06
| 4.09
|
Carl Bradley
|
DT
|
Virginia Tech
|
6-2
| 300
| 5.03
| null | null | null | null | null |
Tom Brady
|
QB
|
Michigan
|
6-4
| 211
| 5.28
| 24.5
| null | 99
| 7.2
| 4.38
|
Robert Brannon
|
DT
|
Iowa State
|
6-4
| 309
| 5.19
| 28.5
| 28
| 99
| 7.82
| 4.7
|
Keith Brown
|
RB
|
UCLA
|
5-11
| 216
| 4.66
| 30
| null | 117
| 6.64
| 4.08
|
Demario Brown
|
RB
|
Utah State
|
6-0
| 217
| 4.72
| 31
| null | 107
| 7.17
| 4.39
|
Courtney Brown
|
DE
|
Penn State
|
6-5
| 269
| 4.78
| null | null | null | null | null |
Mike Brown
|
S
|
Nebraska
|
5-10
| 204
| 4.59
| 36
| 14
| 116
| 6.93
| 4.01
|
Ralph Brown
|
CB
|
Nebraska
|
5-10
| 185
| 4.55
| null | 10
| null | null | null |
Travis Brown
|
QB
|
Northern Arizona
|
6-3
| 218
| 5.01
| 29
| null | 101
| 7.54
| 4.87
|
Lamont Bryant
|
DE
|
Notre Dame
|
6-3
| 260
| 4.91
| null | 17
| null | null | null |
Marc Bulger
|
QB
|
West Virginia
|
6-2
| 208
| 4.97
| null | null | 100
| 7.46
| 4.34
|
Keith Bulluck
|
OLB
|
Syracuse
|
6-3
| 244
| 4.47
| 38
| null | 119
| 7.33
| 4.13
|
Bill Burke
|
QB
|
Michigan State
|
6-4
| 206
| 5.03
| 28.5
| null | 107
| 7.46
| 4.42
|
Plaxico Burress
|
WR
|
Michigan State
|
6-5
| 231
| 4.59
| 33
| null | 115
| null | null |
David Byrd
|
CB
|
Syracuse
|
5-11
| 202
| 4.53
| 36
| 14
| 117
| 7.18
| 4.39
|
Trung Canidate
|
RB
|
Arizona
|
5-11
| 193
| 4.41
| null | 18
| null | null | null |
Cooper Carlisle
|
OG
|
Florida
|
6-5
| 297
| 5.16
| 31
| 28
| 100
| 7.82
| 4.48
|
Giovanni Carmazzi
|
QB
|
Hofstra
|
6-3
| 224
| 4.74
| 36.5
| null | 119
| 6.94
| 4.23
|
Leonardo Carson
|
DE
|
Auburn
|
6-1
| 283
| 5.06
| 28
| 22
| 106
| 7.82
| 4.75
|
Tyrone Carter
|
S
|
Minnesota
|
5-8
| 190
| 4.5
| 41
| 16
| 121
| 6.75
| 4.19
|
Kwame Cavil
|
WR
|
Texas
|
6-2
| 208
| 4.54
| 39.5
| null | 118
| null | null |
Chris Chaloupka
|
QB
|
SMU
|
6-2
| 216
| 4.96
| null | null | null | null | null |
Doug Chapman
|
RB
|
Marshall
|
5-10
| 215
| 4.56
| 38.5
| 16
| 128
| 6.84
| 4.2
|
Ike Charlton
|
CB
|
Virginia Tech
|
5-11
| 205
| 4.47
| null | 16
| 126
| null | null |
Chrys Chukwuma
|
RB
|
Arkansas
|
6-1
| 232
| 4.56
| null | null | 115
| null | null |
Joey Chustz
|
OT
|
Louisiana Tech
|
6-7
| 304
| 5.08
| 31
| 28
| 103
| 7.65
| 4.65
|
Pedro Cirino
|
S
|
Boston Col.
|
5-11
| 197
| 4.59
| null | null | null | null | null |
John Saint Clair
|
C
|
Virginia
|
6-5
| 302
| 5.2
| null | 25
| null | null | null |
Kendrick Clancy
|
DT
|
Mississippi
|
6-1
| 283
| 5.25
| 27.5
| 25
| 108
| 7.98
| 4.65
|
Travis Claridge
|
OG
|
USC
|
6-5
| 303
| 5.15
| 31.5
| 29
| 100
| 7.77
| 4.86
|
Danny Clark
|
ILB
|
Illinois
|
6-2
| 245
| 4.75
| null | 20
| null | null | null |
Chad Clifton
|
OT
|
Tennessee
|
6-5
| 334
| 5.05
| 30.5
| 24
| 102
| 7.58
| 4.73
|
Chris Cole
|
WR
|
Texas A&M
|
6-0
| 191
| 4.37
| 37.5
| null | 125
| 6.76
| 4.09
|
Chris Coleman
|
WR
|
North Carolina State
|
6-0
| 211
| 4.61
| 32.5
| null | 110
| 6.79
| 4.1
|
Cosey Coleman
|
OG
|
Tennessee
|
6-4
| 322
| 5.4
| 28
| null | 101
| 8.15
| 4.97
|
Laveranues Coles
|
WR
|
Florida State
|
5-11
| 192
| 4.41
| 34
| null | 115
| 6.89
| 4.39
|
Chris Combs
|
DT
|
Duke
|
6-5
| 286
| 5.16
| null | 22
| null | null | null |
Kurth Connell
|
OT
|
Washington
|
6-4
| 291
| 5.49
| 33
| 27
| 103
| 8.14
| 4.84
|
Rameel Connor
|
DE
|
Illinois
|
6-3
| 276
| 5
| 35.5
| 25
| 121
| 7.65
| 4.45
|
D.J. Cooper
|
DT
|
Arkansas
|
6-3
| 277
| 5.22
| 28
| null | 108
| 7.41
| 4.49
|
Ashley Cooper
|
S
|
Mississippi State
|
5-10
| 208
| 4.67
| null | 16
| 117
| null | null |
Renard Cox
|
CB
|
Maryland
|
5-11
| 192
| 4.68
| 38
| 13
| 111
| 7.1
| null |
Casey Crawford
|
TE
|
Virginia
|
6-6
| 244
| 4.83
| null | 18
| null | null | null |
Sedrick Curry
|
CB
|
Texas A&M
|
6-1
| 197
| 4.44
| 39
| null | 125
| 6.34
| 3.94
|
Chris Daniels
|
WR
|
Purdue
|
6-3
| 217
| 4.74
| 33
| null | 115
| 7.2
| 4.24
|
Brandon Daniels
|
WR
|
Oklahoma
|
5-10
| 211
| 4.54
| null | null | null | null | null |
Joe Dean Davenport
|
TE
|
Arkansas
|
6-7
| 268
| 5.06
| 30
| 13
| 108
| 7.33
| 4.67
|
Darren Davis
|
RB
|
Iowa State
|
5-8
| 189
| 4.81
| 32
| 13
| 109
| 7.04
| 4.47
|
Adam Davis
|
OG
|
Oklahoma State
|
6-4
| 309
| 5.66
| 26
| null | 92
| 8.51
| 5
|
JaJuan Dawson
|
WR
|
Tulane
|
6-1
| 199
| 4.55
| 34
| null | 117
| 6.96
| 4.16
|
Ron Dayne
|
RB
|
Wisconsin
|
5-11
| 259
| 4.65
| null | null | null | null | null |
Jerry DeLoach
|
DT
|
California
|
6-3
| 314
| 4.99
| 31.5
| 19
| 101
| 7.4
| 4.57
|
Mike Derouselle
|
DT
|
Houston
|
6-2
| 314
| 5.28
| 27.5
| 27
| 96
| 7.67
| 4.8
|
Na'il Diggs
|
OLB
|
Ohio State
|
6-4
| 231
| 4.66
| null | null | null | null | null |
Reuben Droughns
|
RB
|
Oregon
|
5-11
| 215
| 4.66
| 30
| 13
| 115
| 7.34
| 4.41
|
Ron Dugans
|
WR
|
Florida State
|
6-1
| 206
| 4.58
| null | null | 117
| null | null |
Deon Dyer
|
FB
|
North Carolina
|
5-11
| 260
| 4.99
| 28
| null | 104
| 7.88
| 4.81
|
Chris Edwards
|
OLB
|
Georgia Tech
|
6-5
| 226
| 4.65
| null | null | null | null | null |
Mario Edwards
|
CB
|
Florida State
|
6-0
| 191
| 4.46
| null | null | 120
| null | null |
Shaun Ellis
|
DE
|
Tennessee
|
6-4
| 280
| 4.85
| null | null | null | null | null |
John Engelberger
|
DE
|
Virginia Tech
|
6-4
| 260
| 4.73
| 34
| 24
| 115
| 6.95
| 4.28
|
Dwan Epps
|
ILB
|
Texas Southern
|
6-1
| 242
| 4.68
| 34.5
| 8
| null | null | null |
Matt Farmer
|
WR
|
Air Force
|
6-0
| 190
| 4.51
| 33
| null | 108
| 6.63
| 3.94
|
Danny Farmer
|
WR
|
UCLA
|
6-3
| 217
| 4.58
| null | null | null | null | null |
Kevin Feterik
|
QB
|
BYU
|
5-11
| 207
| 4.92
| 31
| null | 106
| 7.3
| 4.45
|
Chafie Fields
|
WR
|
Penn State
|
6-1
| 196
| 4.43
| null | null | null | null | null |
Aaron Fields
|
DE
|
Troy
|
6-4
| 243
| 4.76
| 34
| 22
| 115
| 7.51
| 4.56
|
Zeron Flemister
|
TE
|
Iowa
|
6-4
| 249
| 4.72
| 37
| 14
| 116
| 6.92
| 4.16
|
Erik Flowers
|
DE
|
Arizona State
|
6-4
| 271
| 4.75
| 33
| 24
| 114
| 7.21
| 4.15
|
Derrick Foster
|
RB
|
Texas A&M-Kingsville
|
5-11
| 201
| 4.43
| 34.5
| 19
| 117
| 6.84
| 4.36
|
Larry Foster
|
WR
|
LSU
|
5-10
| 198
| 4.55
| 37
| null | 121
| 6.88
| 4.06
|
John Frank
|
DE
|
Utah
|
6-4
| 280
| 4.78
| 37
| 32
| 117
| 7.07
| 4.27
|
Bubba Franks
|
TE
|
Miami (FL)
|
6-6
| 265
| 4.85
| null | null | null | null | null |
Todd Franz
|
S
|
Tulsa
|
6-1
| 199
| 4.55
| null | 14
| null | null | null |