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 23 new columns ({'fielder_7', 'fielder_5', 'fielder_6', 'post_home_score', 'fielder_9', 'inning', 'des_more', 'inning_topbot', 'post_fld_score', 'pa_pk', 'fielder_8', 'des', 'bb_type', 'fielder_2', 'post_bat_score', 'fielder_3', 'post_away_score', 'batter', 'outs_when_up', 'fielder_4', 'stand', 'pitcher', 'p_throws'}) and 5 missing columns ({'game_date', 'home_team', 'stadium', 'game_year', 'away_team'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Ramos-Ramos/npb/2024/pa/2021019999.csv (at revision 9764a85ab1b57c0136767104f8cb6a87410699c9)
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.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
pitcher: int64
batter: int64
des: string
des_more: string
stand: string
p_throws: string
bb_type: string
outs_when_up: int64
inning: int64
inning_topbot: string
post_home_score: int64
post_away_score: int64
post_bat_score: int64
post_fld_score: int64
fielder_2: int64
fielder_3: int64
fielder_4: int64
fielder_5: int64
fielder_6: int64
fielder_7: int64
fielder_8: int64
fielder_9: int64
game_pk: int64
pa_pk: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3040
to
{'game_pk': Value('int64'), 'game_date': Value('string'), 'game_year': Value('int64'), 'home_team': Value('string'), 'away_team': Value('string'), 'stadium': Value('string')}
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 1455, 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 1054, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.12/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.12/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.12/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 23 new columns ({'fielder_7', 'fielder_5', 'fielder_6', 'post_home_score', 'fielder_9', 'inning', 'des_more', 'inning_topbot', 'post_fld_score', 'pa_pk', 'fielder_8', 'des', 'bb_type', 'fielder_2', 'post_bat_score', 'fielder_3', 'post_away_score', 'batter', 'outs_when_up', 'fielder_4', 'stand', 'pitcher', 'p_throws'}) and 5 missing columns ({'game_date', 'home_team', 'stadium', 'game_year', 'away_team'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Ramos-Ramos/npb/2024/pa/2021019999.csv (at revision 9764a85ab1b57c0136767104f8cb6a87410699c9)
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.
game_pk
int64 | game_date
string | game_year
int64 | home_team
string | away_team
string | stadium
string |
|---|---|---|---|---|---|
2,021,020,000 |
2024-03-29
| 2,024 |
ヤクルト
|
中日
|
神宮
|
2,021,019,999 |
2024-03-29
| 2,024 |
巨人
|
阪神
|
東京ドーム
|
2,021,020,001 |
2024-03-29
| 2,024 |
DeNA
|
広島
|
横浜
|
2,021,020,002 |
2024-03-29
| 2,024 |
楽天
|
西武
|
楽天モバイル
|
2,021,020,004 |
2024-03-29
| 2,024 |
オリックス
|
ソフトバンク
|
京セラD大阪
|
2,021,020,003 |
2024-03-29
| 2,024 |
ロッテ
|
日本ハム
|
ZOZOマリン
|
2,021,020,005 |
2024-03-30
| 2,024 |
巨人
|
阪神
|
東京ドーム
|
2,021,020,006 |
2024-03-30
| 2,024 |
ヤクルト
|
中日
|
神宮
|
2,021,020,007 |
2024-03-30
| 2,024 |
DeNA
|
広島
|
横浜
|
2,021,020,010 |
2024-03-30
| 2,024 |
オリックス
|
ソフトバンク
|
京セラD大阪
|
2,021,020,008 |
2024-03-30
| 2,024 |
楽天
|
西武
|
楽天モバイル
|
2,021,020,009 |
2024-03-30
| 2,024 |
ロッテ
|
日本ハム
|
ZOZOマリン
|
2,021,020,012 |
2024-03-31
| 2,024 |
ヤクルト
|
中日
|
神宮
|
2,021,020,011 |
2024-03-31
| 2,024 |
巨人
|
阪神
|
東京ドーム
|
2,021,020,013 |
2024-03-31
| 2,024 |
DeNA
|
広島
|
横浜
|
2,021,020,014 |
2024-03-31
| 2,024 |
楽天
|
西武
|
楽天モバイル
|
2,021,020,016 |
2024-03-31
| 2,024 |
オリックス
|
ソフトバンク
|
京セラD大阪
|
2,021,020,015 |
2024-03-31
| 2,024 |
ロッテ
|
日本ハム
|
ZOZOマリン
|
2,021,020,018 |
2024-04-02
| 2,024 |
阪神
|
DeNA
|
京セラD大阪
|
2,021,020,019 |
2024-04-02
| 2,024 |
広島
|
ヤクルト
|
マツダスタジアム
|
2,021,020,017 |
2024-04-02
| 2,024 |
中日
|
巨人
|
バンテリンドーム
|
2,021,020,021 |
2024-04-02
| 2,024 |
西武
|
オリックス
|
ベルーナドーム
|
2,021,020,020 |
2024-04-02
| 2,024 |
日本ハム
|
楽天
|
エスコンF
|
2,021,020,022 |
2024-04-02
| 2,024 |
ソフトバンク
|
ロッテ
|
PayPayドーム
|
2,021,020,023 |
2024-04-03
| 2,024 |
中日
|
巨人
|
バンテリンドーム
|
2,021,020,024 |
2024-04-03
| 2,024 |
阪神
|
DeNA
|
京セラD大阪
|
2,021,020,027 |
2024-04-03
| 2,024 |
西武
|
オリックス
|
ベルーナドーム
|
2,021,020,028 |
2024-04-03
| 2,024 |
ソフトバンク
|
ロッテ
|
PayPayドーム
|
2,021,020,026 |
2024-04-03
| 2,024 |
日本ハム
|
楽天
|
エスコンF
|
2,021,020,029 |
2024-04-04
| 2,024 |
中日
|
巨人
|
バンテリンドーム
|
2,021,020,030 |
2024-04-04
| 2,024 |
阪神
|
DeNA
|
京セラD大阪
|
2,021,020,031 |
2024-04-04
| 2,024 |
広島
|
ヤクルト
|
マツダスタジアム
|
2,021,020,032 |
2024-04-04
| 2,024 |
西武
|
オリックス
|
ベルーナドーム
|
2,021,020,033 |
2024-04-04
| 2,024 |
ソフトバンク
|
ロッテ
|
PayPayドーム
|
2,021,020,034 |
2024-04-05
| 2,024 |
巨人
|
DeNA
|
東京ドーム
|
2,021,020,035 |
2024-04-05
| 2,024 |
ヤクルト
|
阪神
|
神宮
|
2,021,020,036 |
2024-04-05
| 2,024 |
広島
|
中日
|
マツダスタジアム
|
2,021,020,037 |
2024-04-05
| 2,024 |
日本ハム
|
西武
|
エスコンF
|
2,021,020,038 |
2024-04-05
| 2,024 |
楽天
|
ソフトバンク
|
楽天モバイル
|
2,021,020,039 |
2024-04-05
| 2,024 |
ロッテ
|
オリックス
|
ZOZOマリン
|
2,021,020,041 |
2024-04-06
| 2,024 |
ヤクルト
|
阪神
|
神宮
|
2,021,020,042 |
2024-04-06
| 2,024 |
広島
|
中日
|
マツダスタジアム
|
2,021,020,040 |
2024-04-06
| 2,024 |
巨人
|
DeNA
|
東京ドーム
|
2,021,020,043 |
2024-04-06
| 2,024 |
日本ハム
|
西武
|
エスコンF
|
2,021,020,044 |
2024-04-06
| 2,024 |
楽天
|
ソフトバンク
|
楽天モバイル
|
2,021,020,045 |
2024-04-06
| 2,024 |
ロッテ
|
オリックス
|
ZOZOマリン
|
2,021,020,047 |
2024-04-07
| 2,024 |
ヤクルト
|
阪神
|
神宮
|
2,021,020,048 |
2024-04-07
| 2,024 |
広島
|
中日
|
マツダスタジアム
|
2,021,020,046 |
2024-04-07
| 2,024 |
巨人
|
DeNA
|
東京ドーム
|
2,021,020,049 |
2024-04-07
| 2,024 |
日本ハム
|
西武
|
エスコンF
|
2,021,020,050 |
2024-04-07
| 2,024 |
楽天
|
ソフトバンク
|
楽天モバイル
|
2,021,020,051 |
2024-04-07
| 2,024 |
ロッテ
|
オリックス
|
ZOZOマリン
|
2,021,020,052 |
2024-04-09
| 2,024 |
ヤクルト
|
巨人
|
鹿児島
|
2,021,020,053 |
2024-04-09
| 2,024 |
DeNA
|
中日
|
横浜
|
2,021,020,054 |
2024-04-09
| 2,024 |
阪神
|
広島
|
甲子園
|
2,021,020,055 |
2024-04-09
| 2,024 |
西武
|
ロッテ
|
県営大宮
|
2,021,020,056 |
2024-04-09
| 2,024 |
オリックス
|
楽天
|
京セラD大阪
|
2,021,020,057 |
2024-04-09
| 2,024 |
ソフトバンク
|
日本ハム
|
熊本
|
2,021,020,058 |
2024-04-10
| 2,024 |
DeNA
|
中日
|
横浜
|
2,021,020,059 |
2024-04-10
| 2,024 |
阪神
|
広島
|
甲子園
|
2,021,020,060 |
2024-04-10
| 2,024 |
西武
|
ロッテ
|
ベルーナドーム
|
2,021,020,061 |
2024-04-10
| 2,024 |
オリックス
|
楽天
|
京セラD大阪
|
2,021,020,062 |
2024-04-11
| 2,024 |
ヤクルト
|
巨人
|
神宮
|
2,021,020,063 |
2024-04-11
| 2,024 |
阪神
|
広島
|
甲子園
|
2,021,020,064 |
2024-04-11
| 2,024 |
オリックス
|
楽天
|
京セラD大阪
|
2,021,020,065 |
2024-04-11
| 2,024 |
ソフトバンク
|
日本ハム
|
北九州
|
2,021,020,067 |
2024-04-12
| 2,024 |
DeNA
|
ヤクルト
|
横浜
|
2,021,020,066 |
2024-04-12
| 2,024 |
巨人
|
広島
|
東京ドーム
|
2,021,020,068 |
2024-04-12
| 2,024 |
中日
|
阪神
|
バンテリンドーム
|
2,021,020,069 |
2024-04-12
| 2,024 |
楽天
|
ロッテ
|
楽天モバイル
|
2,021,020,070 |
2024-04-12
| 2,024 |
西武
|
ソフトバンク
|
ベルーナドーム
|
2,021,020,071 |
2024-04-12
| 2,024 |
オリックス
|
日本ハム
|
京セラD大阪
|
2,021,020,072 |
2024-04-13
| 2,024 |
巨人
|
広島
|
東京ドーム
|
2,021,020,073 |
2024-04-13
| 2,024 |
DeNA
|
ヤクルト
|
横浜
|
2,021,020,074 |
2024-04-13
| 2,024 |
中日
|
阪神
|
バンテリンドーム
|
2,021,020,075 |
2024-04-13
| 2,024 |
楽天
|
ロッテ
|
楽天モバイル
|
2,021,020,076 |
2024-04-13
| 2,024 |
西武
|
ソフトバンク
|
ベルーナドーム
|
2,021,020,077 |
2024-04-13
| 2,024 |
オリックス
|
日本ハム
|
京セラD大阪
|
2,021,020,080 |
2024-04-14
| 2,024 |
中日
|
阪神
|
バンテリンドーム
|
2,021,020,078 |
2024-04-14
| 2,024 |
巨人
|
広島
|
東京ドーム
|
2,021,020,079 |
2024-04-14
| 2,024 |
DeNA
|
ヤクルト
|
横浜
|
2,021,020,081 |
2024-04-14
| 2,024 |
楽天
|
ロッテ
|
楽天モバイル
|
2,021,020,082 |
2024-04-14
| 2,024 |
西武
|
ソフトバンク
|
ベルーナドーム
|
2,021,020,083 |
2024-04-14
| 2,024 |
オリックス
|
日本ハム
|
京セラD大阪
|
2,021,020,084 |
2024-04-16
| 2,024 |
中日
|
ヤクルト
|
バンテリンドーム
|
2,021,020,085 |
2024-04-16
| 2,024 |
阪神
|
巨人
|
甲子園
|
2,021,020,086 |
2024-04-16
| 2,024 |
広島
|
DeNA
|
マツダスタジアム
|
2,021,020,087 |
2024-04-16
| 2,024 |
日本ハム
|
ソフトバンク
|
エスコンF
|
2,021,020,088 |
2024-04-16
| 2,024 |
楽天
|
オリックス
|
楽天モバイル
|
2,021,020,089 |
2024-04-16
| 2,024 |
ロッテ
|
西武
|
ZOZOマリン
|
2,021,020,090 |
2024-04-17
| 2,024 |
中日
|
ヤクルト
|
バンテリンドーム
|
2,021,020,091 |
2024-04-17
| 2,024 |
阪神
|
巨人
|
甲子園
|
2,021,020,092 |
2024-04-17
| 2,024 |
広島
|
DeNA
|
マツダスタジアム
|
2,021,020,093 |
2024-04-17
| 2,024 |
日本ハム
|
ソフトバンク
|
エスコンF
|
2,021,020,094 |
2024-04-17
| 2,024 |
楽天
|
オリックス
|
楽天モバイル
|
2,021,020,095 |
2024-04-17
| 2,024 |
ロッテ
|
西武
|
ZOZOマリン
|
2,021,020,096 |
2024-04-18
| 2,024 |
中日
|
ヤクルト
|
バンテリンドーム
|
2,021,020,097 |
2024-04-18
| 2,024 |
阪神
|
巨人
|
甲子園
|
2,021,020,098 |
2024-04-18
| 2,024 |
楽天
|
オリックス
|
楽天モバイル
|
2,021,020,099 |
2024-04-19
| 2,024 |
ヤクルト
|
DeNA
|
神宮
|
End of preview.
No dataset card yet
- Downloads last month
- 140