Hatman/NBA-Game-2018
Updated
•
8
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 29 new columns ({'FG', 'GS', '2P', 'PF', 'FT', 'Name', 'G', 'Age', '3PA', 'BLK', 'FT%', 'DRB', '2PA', 'STL', 'Rk', '2P%', 'PTS/G', 'TRB', '3P', 'FGA', 'FG%', 'TOV', 'MP', 'ORB', 'AST', 'FTA', 'TEAM', '3P%', 'eFG%'}) and 11 missing columns ({'Date', 'Start (ET)', 'Home/Neutral', 'Box Score', 'Overtime', 'Arena', 'PTS.1', 'Notes', 'Visitor/Neutral', 'Attendance', 'PTS'}). This happened while the csv dataset builder was generating data using hf://datasets/Hatman/NBA-Players-Results-2018/player_stats_2018.csv (at revision c366effba38fb1703082cc060b3d196a3a4a8cb9) 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 Rk: int64 Name: string Age: int64 G: int64 GS: int64 MP: double FG: double FGA: double FG%: double 3P: double 3PA: double 3P%: double 2P: double 2PA: double 2P%: double eFG%: double FT: double FTA: double FT%: double ORB: double DRB: double TRB: double AST: double STL: double BLK: double TOV: double PF: double PTS/G: double TEAM: string -- schema metadata -- pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3336 to {'Date': Value(dtype='string', id=None), 'Start (ET)': Value(dtype='string', id=None), 'Visitor/Neutral': Value(dtype='string', id=None), 'PTS': Value(dtype='int64', id=None), 'Home/Neutral': Value(dtype='string', id=None), 'PTS.1': Value(dtype='int64', id=None), 'Box Score': Value(dtype='string', id=None), 'Overtime': Value(dtype='string', id=None), 'Attendance': Value(dtype='int64', id=None), 'Arena': Value(dtype='string', id=None), 'Notes': Value(dtype='string', 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 29 new columns ({'FG', 'GS', '2P', 'PF', 'FT', 'Name', 'G', 'Age', '3PA', 'BLK', 'FT%', 'DRB', '2PA', 'STL', 'Rk', '2P%', 'PTS/G', 'TRB', '3P', 'FGA', 'FG%', 'TOV', 'MP', 'ORB', 'AST', 'FTA', 'TEAM', '3P%', 'eFG%'}) and 11 missing columns ({'Date', 'Start (ET)', 'Home/Neutral', 'Box Score', 'Overtime', 'Arena', 'PTS.1', 'Notes', 'Visitor/Neutral', 'Attendance', 'PTS'}). This happened while the csv dataset builder was generating data using hf://datasets/Hatman/NBA-Players-Results-2018/player_stats_2018.csv (at revision c366effba38fb1703082cc060b3d196a3a4a8cb9) 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.
Date
string | Start (ET)
string | Visitor/Neutral
string | PTS
int64 | Home/Neutral
string | PTS.1
int64 | Box Score
string | Overtime
null | Attendance
int64 | Arena
string | Notes
null |
---|---|---|---|---|---|---|---|---|---|---|
Tue Oct 16 2018 | 8:00p | Philadelphia 76ers | 87 | Boston Celtics | 105 | Box Score | null | 18,624 | TD Garden | null |
Tue Oct 16 2018 | 10:30p | Oklahoma City Thunder | 100 | Golden State Warriors | 108 | Box Score | null | 19,596 | Oracle Arena | null |
Wed Oct 17 2018 | 7:00p | Milwaukee Bucks | 113 | Charlotte Hornets | 112 | Box Score | null | 17,889 | Spectrum Center | null |
Wed Oct 17 2018 | 7:00p | Brooklyn Nets | 100 | Detroit Pistons | 103 | Box Score | null | 20,332 | Little Caesars Arena | null |
Wed Oct 17 2018 | 7:00p | Memphis Grizzlies | 83 | Indiana Pacers | 111 | Box Score | null | 17,923 | Bankers Life Fieldhouse | null |
Wed Oct 17 2018 | 7:00p | Miami Heat | 101 | Orlando Magic | 104 | Box Score | null | 19,191 | Amway Center | null |
Wed Oct 17 2018 | 7:30p | Atlanta Hawks | 107 | New York Knicks | 126 | Box Score | null | 18,249 | Madison Square Garden (IV) | null |
Wed Oct 17 2018 | 7:30p | Cleveland Cavaliers | 104 | Toronto Raptors | 116 | Box Score | null | 19,915 | Scotiabank Arena | null |
Wed Oct 17 2018 | 8:00p | New Orleans Pelicans | 131 | Houston Rockets | 112 | Box Score | null | 18,055 | Toyota Center | null |
Wed Oct 17 2018 | 8:30p | Minnesota Timberwolves | 108 | San Antonio Spurs | 112 | Box Score | null | 18,354 | AT&T Center | null |
Wed Oct 17 2018 | 10:00p | Utah Jazz | 123 | Sacramento Kings | 117 | Box Score | null | 17,583 | Golden 1 Center | null |
Wed Oct 17 2018 | 10:30p | Denver Nuggets | 107 | Los Angeles Clippers | 98 | Box Score | null | 19,068 | STAPLES Center | null |
Wed Oct 17 2018 | 10:30p | Dallas Mavericks | 100 | Phoenix Suns | 121 | Box Score | null | 18,055 | Talking Stick Resort Arena | null |
Thu Oct 18 2018 | 8:00p | Chicago Bulls | 108 | Philadelphia 76ers | 127 | Box Score | null | 20,302 | Wells Fargo Center | null |
Thu Oct 18 2018 | 8:00p | Miami Heat | 113 | Washington Wizards | 112 | Box Score | null | 20,409 | Capital One Arena | null |
Thu Oct 18 2018 | 10:30p | Los Angeles Lakers | 119 | Portland Trail Blazers | 128 | Box Score | null | 19,996 | Moda Center | null |
Fri Oct 19 2018 | 7:00p | Charlotte Hornets | 120 | Orlando Magic | 88 | Box Score | null | 17,668 | Amway Center | null |
Fri Oct 19 2018 | 7:30p | New York Knicks | 105 | Brooklyn Nets | 107 | Box Score | null | 17,732 | Barclays Center | null |
Fri Oct 19 2018 | 8:00p | Atlanta Hawks | 117 | Memphis Grizzlies | 131 | Box Score | null | 17,019 | FedEx Forum | null |
Fri Oct 19 2018 | 8:00p | Cleveland Cavaliers | 123 | Minnesota Timberwolves | 131 | Box Score | null | 18,978 | Target Center | null |
Fri Oct 19 2018 | 8:00p | Sacramento Kings | 129 | New Orleans Pelicans | 149 | Box Score | null | 18,337 | Smoothie King Center | null |
Fri Oct 19 2018 | 8:00p | Boston Celtics | 101 | Toronto Raptors | 113 | Box Score | null | 19,800 | Scotiabank Arena | null |
Fri Oct 19 2018 | 8:30p | Indiana Pacers | 101 | Milwaukee Bucks | 118 | Box Score | null | 17,341 | Fiserv Forum | null |
Fri Oct 19 2018 | 10:30p | Oklahoma City Thunder | 92 | Los Angeles Clippers | 108 | Box Score | null | 14,816 | STAPLES Center | null |
Fri Oct 19 2018 | 10:30p | Golden State Warriors | 124 | Utah Jazz | 123 | Box Score | null | 18,306 | Vivint Smart Home Arena | null |
Sat Oct 20 2018 | 7:00p | Brooklyn Nets | 112 | Indiana Pacers | 132 | Box Score | null | 17,007 | Bankers Life Fieldhouse | null |
Sat Oct 20 2018 | 7:00p | Toronto Raptors | 117 | Washington Wizards | 113 | Box Score | null | 16,185 | Capital One Arena | null |
Sat Oct 20 2018 | 7:30p | Boston Celtics | 103 | New York Knicks | 101 | Box Score | null | 19,427 | Madison Square Garden (IV) | null |
Sat Oct 20 2018 | 7:30p | Orlando Magic | 115 | Philadelphia 76ers | 116 | Box Score | null | 20,300 | Wells Fargo Center | null |
Sat Oct 20 2018 | 8:00p | Detroit Pistons | 118 | Chicago Bulls | 116 | Box Score | null | 21,289 | United Center | null |
Sat Oct 20 2018 | 8:00p | Charlotte Hornets | 113 | Miami Heat | 112 | Box Score | null | 19,600 | AmericanAirlines Arena | null |
Sat Oct 20 2018 | 8:30p | Minnesota Timberwolves | 136 | Dallas Mavericks | 140 | Box Score | null | 20,205 | American Airlines Center | null |
Sat Oct 20 2018 | 9:00p | Phoenix Suns | 91 | Denver Nuggets | 119 | Box Score | null | 19,592 | Pepsi Center | null |
Sat Oct 20 2018 | 10:00p | San Antonio Spurs | 108 | Portland Trail Blazers | 121 | Box Score | null | 19,461 | Moda Center | null |
Sat Oct 20 2018 | 10:30p | Houston Rockets | 124 | Los Angeles Lakers | 115 | Box Score | null | 18,997 | STAPLES Center | null |
Sun Oct 21 2018 | 6:00p | Atlanta Hawks | 133 | Cleveland Cavaliers | 111 | Box Score | null | 19,432 | Quicken Loans Arena | null |
Sun Oct 21 2018 | 7:00p | Sacramento Kings | 131 | Oklahoma City Thunder | 120 | Box Score | null | 18,203 | Chesapeake Energy Arena | null |
Sun Oct 21 2018 | 8:00p | Golden State Warriors | 98 | Denver Nuggets | 100 | Box Score | null | 19,520 | Pepsi Center | null |
Sun Oct 21 2018 | 9:00p | Houston Rockets | 112 | Los Angeles Clippers | 115 | Box Score | null | 16,149 | STAPLES Center | null |
Mon Oct 22 2018 | 7:30p | Orlando Magic | 93 | Boston Celtics | 90 | Box Score | null | 18,624 | TD Garden | null |
Mon Oct 22 2018 | 7:30p | Charlotte Hornets | 106 | Toronto Raptors | 127 | Box Score | null | 19,800 | Scotiabank Arena | null |
Mon Oct 22 2018 | 8:00p | New York Knicks | 113 | Milwaukee Bucks | 124 | Box Score | null | 16,228 | Fiserv Forum | null |
Mon Oct 22 2018 | 8:00p | Indiana Pacers | 91 | Minnesota Timberwolves | 101 | Box Score | null | 10,371 | Target Center | null |
Mon Oct 22 2018 | 8:30p | Chicago Bulls | 109 | Dallas Mavericks | 115 | Box Score | null | 19,291 | American Airlines Center | null |
Mon Oct 22 2018 | 9:00p | Memphis Grizzlies | 92 | Utah Jazz | 84 | Box Score | null | 18,306 | Vivint Smart Home Arena | null |
Mon Oct 22 2018 | 10:00p | Washington Wizards | 125 | Portland Trail Blazers | 124 | Box Score | null | 19,187 | Moda Center | null |
Mon Oct 22 2018 | 10:30p | Phoenix Suns | 103 | Golden State Warriors | 123 | Box Score | null | 19,596 | Oracle Arena | null |
Mon Oct 22 2018 | 10:30p | San Antonio Spurs | 143 | Los Angeles Lakers | 142 | Box Score | null | 18,997 | STAPLES Center | null |
Tue Oct 23 2018 | 7:00p | Philadelphia 76ers | 132 | Detroit Pistons | 133 | Box Score | null | 14,418 | Little Caesars Arena | null |
Tue Oct 23 2018 | 8:00p | Los Angeles Clippers | 109 | New Orleans Pelicans | 116 | Box Score | null | 14,625 | Smoothie King Center | null |
Tue Oct 23 2018 | 9:00p | Sacramento Kings | 112 | Denver Nuggets | 126 | Box Score | null | 13,214 | Pepsi Center | null |
Wed Oct 24 2018 | 7:00p | Dallas Mavericks | 104 | Atlanta Hawks | 111 | Box Score | null | 16,705 | State Farm Arena | null |
Wed Oct 24 2018 | 7:00p | Brooklyn Nets | 102 | Cleveland Cavaliers | 86 | Box Score | null | 19,432 | Quicken Loans Arena | null |
Wed Oct 24 2018 | 7:30p | New York Knicks | 87 | Miami Heat | 110 | Box Score | null | 19,600 | AmericanAirlines Arena | null |
Wed Oct 24 2018 | 7:30p | Minnesota Timberwolves | 105 | Toronto Raptors | 112 | Box Score | null | 19,800 | Scotiabank Arena | null |
Wed Oct 24 2018 | 8:00p | Charlotte Hornets | 110 | Chicago Bulls | 112 | Box Score | null | 19,170 | United Center | null |
Wed Oct 24 2018 | 8:00p | Utah Jazz | 100 | Houston Rockets | 89 | Box Score | null | 18,055 | Toyota Center | null |
Wed Oct 24 2018 | 8:30p | Indiana Pacers | 116 | San Antonio Spurs | 96 | Box Score | null | 18,354 | AT&T Center | null |
Wed Oct 24 2018 | 9:30p | Philadelphia 76ers | 108 | Milwaukee Bucks | 123 | Box Score | null | 17,341 | Fiserv Forum | null |
Wed Oct 24 2018 | 10:00p | Los Angeles Lakers | 131 | Phoenix Suns | 113 | Box Score | null | 18,055 | Talking Stick Resort Arena | null |
Wed Oct 24 2018 | 10:00p | Memphis Grizzlies | 92 | Sacramento Kings | 97 | Box Score | null | 14,198 | Golden 1 Center | null |
Wed Oct 24 2018 | 10:30p | Washington Wizards | 122 | Golden State Warriors | 144 | Box Score | null | 19,596 | Oracle Arena | null |
Thu Oct 25 2018 | 7:00p | Cleveland Cavaliers | 103 | Detroit Pistons | 110 | Box Score | null | 15,896 | Little Caesars Arena | null |
Thu Oct 25 2018 | 7:00p | Portland Trail Blazers | 128 | Orlando Magic | 114 | Box Score | null | 15,114 | Amway Center | null |
Thu Oct 25 2018 | 8:00p | Boston Celtics | 101 | Oklahoma City Thunder | 95 | Box Score | null | 18,203 | Chesapeake Energy Arena | null |
Thu Oct 25 2018 | 10:30p | Denver Nuggets | 114 | Los Angeles Lakers | 121 | Box Score | null | 18,997 | STAPLES Center | null |
Fri Oct 26 2018 | 7:00p | Chicago Bulls | 106 | Charlotte Hornets | 135 | Box Score | null | 15,220 | Spectrum Center | null |
Fri Oct 26 2018 | 7:30p | Golden State Warriors | 128 | New York Knicks | 100 | Box Score | null | 19,812 | Madison Square Garden (IV) | null |
Fri Oct 26 2018 | 7:30p | Dallas Mavericks | 107 | Toronto Raptors | 116 | Box Score | null | 19,800 | Scotiabank Arena | null |
Fri Oct 26 2018 | 8:00p | Los Angeles Clippers | 133 | Houston Rockets | 113 | Box Score | null | 18,055 | Toyota Center | null |
Fri Oct 26 2018 | 8:00p | Milwaukee Bucks | 125 | Minnesota Timberwolves | 95 | Box Score | null | 16,334 | Target Center | null |
Fri Oct 26 2018 | 8:00p | Brooklyn Nets | 115 | New Orleans Pelicans | 117 | Box Score | null | 15,272 | Smoothie King Center | null |
Fri Oct 26 2018 | 10:00p | Washington Wizards | 112 | Sacramento Kings | 116 | Box Score | null | 14,101 | Golden 1 Center | null |
Sat Oct 27 2018 | 7:00p | Boston Celtics | 109 | Detroit Pistons | 89 | Box Score | null | 18,120 | Little Caesars Arena | null |
Sat Oct 27 2018 | 7:00p | Utah Jazz | 132 | New Orleans Pelicans | 111 | Box Score | null | 16,373 | Smoothie King Center | null |
Sat Oct 27 2018 | 7:30p | Chicago Bulls | 97 | Atlanta Hawks | 85 | Box Score | null | 15,549 | State Farm Arena | null |
Sat Oct 27 2018 | 7:30p | Indiana Pacers | 119 | Cleveland Cavaliers | 107 | Box Score | null | 19,432 | Quicken Loans Arena | null |
Sat Oct 27 2018 | 7:30p | Charlotte Hornets | 103 | Philadelphia 76ers | 105 | Box Score | null | 20,203 | Wells Fargo Center | null |
Sat Oct 27 2018 | 8:00p | Phoenix Suns | 96 | Memphis Grizzlies | 117 | Box Score | null | 15,926 | FedEx Forum | null |
Sat Oct 27 2018 | 8:00p | Portland Trail Blazers | 111 | Miami Heat | 120 | Box Score | null | 19,600 | AmericanAirlines Arena | null |
Sat Oct 27 2018 | 8:30p | Orlando Magic | 91 | Milwaukee Bucks | 113 | Box Score | null | 17,341 | Fiserv Forum | null |
Sat Oct 27 2018 | 8:30p | Los Angeles Lakers | 106 | San Antonio Spurs | 110 | Box Score | null | 18,589 | AT&T Center | null |
Sun Oct 28 2018 | 5:00p | Golden State Warriors | 120 | Brooklyn Nets | 114 | Box Score | null | 17,732 | Barclays Center | null |
Sun Oct 28 2018 | 7:00p | Utah Jazz | 113 | Dallas Mavericks | 104 | Box Score | null | 19,571 | American Airlines Center | null |
Sun Oct 28 2018 | 7:00p | Phoenix Suns | 110 | Oklahoma City Thunder | 117 | Box Score | null | 18,203 | Chesapeake Energy Arena | null |
Sun Oct 28 2018 | 9:30p | Washington Wizards | 104 | Los Angeles Clippers | 136 | Box Score | null | 16,491 | STAPLES Center | null |
Mon Oct 29 2018 | 7:00p | Portland Trail Blazers | 103 | Indiana Pacers | 93 | Box Score | null | 15,788 | Bankers Life Fieldhouse | null |
Mon Oct 29 2018 | 7:00p | Atlanta Hawks | 92 | Philadelphia 76ers | 113 | Box Score | null | 20,269 | Wells Fargo Center | null |
Mon Oct 29 2018 | 7:30p | Sacramento Kings | 123 | Miami Heat | 113 | Box Score | null | 19,600 | AmericanAirlines Arena | null |
Mon Oct 29 2018 | 7:30p | Brooklyn Nets | 96 | New York Knicks | 115 | Box Score | null | 19,221 | Madison Square Garden (IV) | null |
Mon Oct 29 2018 | 8:00p | Golden State Warriors | 149 | Chicago Bulls | 124 | Box Score | null | 21,076 | United Center | null |
Mon Oct 29 2018 | 8:00p | Toronto Raptors | 109 | Milwaukee Bucks | 124 | Box Score | null | 17,341 | Fiserv Forum | null |
Mon Oct 29 2018 | 8:00p | Los Angeles Lakers | 120 | Minnesota Timberwolves | 124 | Box Score | null | 18,978 | Target Center | null |
Mon Oct 29 2018 | 8:30p | Dallas Mavericks | 108 | San Antonio Spurs | 113 | Box Score | null | 18,354 | AT&T Center | null |
Mon Oct 29 2018 | 9:00p | New Orleans Pelicans | 111 | Denver Nuggets | 116 | Box Score | null | 15,217 | Pepsi Center | null |
Tue Oct 30 2018 | 7:00p | Miami Heat | 113 | Charlotte Hornets | 125 | Box Score | null | 14,117 | Spectrum Center | null |
Tue Oct 30 2018 | 7:00p | Atlanta Hawks | 114 | Cleveland Cavaliers | 136 | Box Score | null | 19,432 | Quicken Loans Arena | null |
Tue Oct 30 2018 | 7:00p | Sacramento Kings | 107 | Orlando Magic | 99 | Box Score | null | 15,074 | Amway Center | null |
Tue Oct 30 2018 | 7:30p | Detroit Pistons | 105 | Boston Celtics | 108 | Box Score | null | 18,624 | TD Garden | null |
Tue Oct 30 2018 | 7:30p | Philadelphia 76ers | 112 | Toronto Raptors | 129 | Box Score | null | 19,800 | Scotiabank Arena | null |
This dataset contains two CSV files with information about the 2018 NBA regular season:
game_results_2018.csv
- Contains results for each game played in the 2018 NBA regular season.
player_stats_2018.csv
- Contains average per-game stats for every starter in the 2018 NBA season.
The data was scraped from the official NBA website and sports reference sites that track NBA stats and results.
game_results_2018.csv
:
player_stats_2018.csv
fields:
This dataset can be used for analysis of the 2018 NBA season, such as:
The data is provided under an open source MIT license.[1]