The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 46 new columns ({'is_baby', 'special_attack', 'generation_id', 'height_dm', 'height_m', 'type_2', 'hatch_counter', 'defense', 'is_legendary', 'is_default_form', 'n_abilities', 'physique_score', 'type_1', 'abilities', 'hp', 'attack', 'speed_score', 'growth_rate_id', 'gender_ratio_male_pct', 'evolves_from_species_id', 'capture_rate', 'bmi', 'special_score', 'base_happiness', 'name', 'stat_average', 'shape', 'weight_hg', 'offense_score', 'speed', 'is_mythical', 'hidden_ability', 'special_defense', 'type_count', 'hatch_steps_estimate', 'pokemon_id', 'generation', 'weight_kg', 'base_experience', 'defense_score', 'capture_difficulty', 'has_gender_differences', 'name_length', 'stat_total', 'habitat', 'color'}) and 3 missing columns ({'column', 'data_type', 'description'}).
This happened while the csv dataset builder was generating data using
hf://datasets/EduDevCommons/pokemon-complete-stats/pokemon_stats.csv (at revision 7b24b347e6b24aeee2eb9d41b68f56e170d83942), ['hf://datasets/EduDevCommons/pokemon-complete-stats@7b24b347e6b24aeee2eb9d41b68f56e170d83942/data_dictionary.csv', 'hf://datasets/EduDevCommons/pokemon-complete-stats@7b24b347e6b24aeee2eb9d41b68f56e170d83942/pokemon_stats.csv']
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 "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
pokemon_id: int64
name: string
generation: string
generation_id: int64
is_legendary: bool
is_mythical: bool
is_baby: bool
is_default_form: bool
type_1: string
type_2: string
type_count: int64
height_dm: int64
height_m: double
weight_hg: int64
weight_kg: double
bmi: double
base_experience: double
hp: int64
attack: int64
defense: int64
special_attack: int64
special_defense: int64
speed: int64
stat_total: int64
stat_average: double
physique_score: int64
special_score: int64
offense_score: int64
defense_score: int64
speed_score: int64
n_abilities: int64
abilities: string
hidden_ability: string
capture_rate: int64
capture_difficulty: double
base_happiness: int64
gender_ratio_male_pct: double
hatch_counter: int64
hatch_steps_estimate: int64
growth_rate_id: int64
evolves_from_species_id: double
color: string
habitat: string
shape: string
has_gender_differences: bool
name_length: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 5813
to
{'column': Value('string'), 'data_type': Value('string'), 'description': 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 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 46 new columns ({'is_baby', 'special_attack', 'generation_id', 'height_dm', 'height_m', 'type_2', 'hatch_counter', 'defense', 'is_legendary', 'is_default_form', 'n_abilities', 'physique_score', 'type_1', 'abilities', 'hp', 'attack', 'speed_score', 'growth_rate_id', 'gender_ratio_male_pct', 'evolves_from_species_id', 'capture_rate', 'bmi', 'special_score', 'base_happiness', 'name', 'stat_average', 'shape', 'weight_hg', 'offense_score', 'speed', 'is_mythical', 'hidden_ability', 'special_defense', 'type_count', 'hatch_steps_estimate', 'pokemon_id', 'generation', 'weight_kg', 'base_experience', 'defense_score', 'capture_difficulty', 'has_gender_differences', 'name_length', 'stat_total', 'habitat', 'color'}) and 3 missing columns ({'column', 'data_type', 'description'}).
This happened while the csv dataset builder was generating data using
hf://datasets/EduDevCommons/pokemon-complete-stats/pokemon_stats.csv (at revision 7b24b347e6b24aeee2eb9d41b68f56e170d83942), ['hf://datasets/EduDevCommons/pokemon-complete-stats@7b24b347e6b24aeee2eb9d41b68f56e170d83942/data_dictionary.csv', 'hf://datasets/EduDevCommons/pokemon-complete-stats@7b24b347e6b24aeee2eb9d41b68f56e170d83942/pokemon_stats.csv']
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.
column string | data_type string | description string |
|---|---|---|
pokemon_id | integer | National Pokédex number / API id. |
name | string | Lower-case English species identifier. |
generation | string | Generation name (e.g. generation-i). |
generation_id | integer | Generation number (1-9). |
is_legendary | boolean | True for legendary Pokémon. |
is_mythical | boolean | True for mythical Pokémon. |
is_baby | boolean | True for baby Pokémon. |
is_default_form | boolean | True for the default form of the species. |
type_1 | category | Primary elemental type. |
type_2 | category | Secondary elemental type, empty for mono-type Pokémon. |
type_count | integer | Number of types (1 or 2). |
height_dm | integer | Height in decimetres as stored by the API. |
height_m | float | Height in metres. |
weight_hg | integer | Weight in hectograms as stored by the API. |
weight_kg | float | Weight in kilograms. |
bmi | float | Body mass index computed as kg / m² (a fun derived feature, not a health measure). |
base_experience | integer | Experience yield when defeated. |
hp | integer | Base HP stat. |
attack | integer | Base physical attack stat. |
defense | integer | Base physical defense stat. |
special_attack | integer | Base special attack stat. |
special_defense | integer | Base special defense stat. |
speed | integer | Base speed stat. |
stat_total | integer | Sum of all six base stats. |
stat_average | float | Mean of the six base stats. |
physique_score | integer | HP + attack + defense (bulk/physical proxy). |
special_score | integer | Special attack + special defense. |
offense_score | integer | Attack + special attack. |
defense_score | integer | Defense + special defense. |
speed_score | integer | Speed stat (duplicated for convenience in modelling). |
n_abilities | integer | Number of abilities including hidden ones. |
abilities | string list | Semicolon-separated ability identifiers. |
hidden_ability | string | Hidden ability identifier, if any. |
capture_rate | integer | Catch rate, 3 (hardest) to 255 (easiest). |
capture_difficulty | float | Derived 255 / capture_rate; higher means harder to catch. |
base_happiness | integer | Base friendship value. |
gender_ratio_male_pct | float | Percentage of males in the species, -1 for genderless. |
hatch_counter | integer | Egg cycles required to hatch. |
hatch_steps_estimate | integer | (hatch_counter + 1) × 255 steps. |
growth_rate_id | integer | Growth-rate curve identifier. |
evolves_from_species_id | integer | Species id this Pokémon evolves from, empty if base form. |
color | category | Pokédex colour category. |
habitat | category | Pokédex habitat category. |
shape | category | Pokédex body shape category. |
has_gender_differences | boolean | True when sprite differs by gender. |
name_length | integer | Character length of the species name. |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
Pokémon Complete Stats — 1,351 Pokémon, 46 Engineered Features
Subtitle: Every Pokémon with base stats, types, abilities, breeding data, physical measurements and 15+ derived battle features.
📖 Description
There are dozens of "Pokémon stats" CSVs on the internet, and almost all of them stop at six stats and two type columns. This one goes further: 1,351 Pokémon (all national-dex entries, including alternate forms such as Mega Evolutions, regional variants and Gigantamax forms) with 46 columns pulled from the PokéAPI GraphQL endpoint.
Beyond the raw API fields, the dataset ships with derived features designed for actual modelling:
- Battle composites —
physique_score,special_score,offense_score,defense_score, plusstat_totalandstat_average. - Physical proxies — height and weight in both API units and metric, plus a
bmifeature (a playful but genuinely predictive variable for bulky Pokémon). - Catch & breeding economy —
capture_rate, a normalisedcapture_difficulty,base_happiness,hatch_counter, estimatedhatch_steps_estimate, andgender_ratio_male_pct. - Evolution & taxonomy — generation, colour, habitat, body shape,
evolves_from_species_idso you can rebuild evolution chains. - Ability profile — full ability list, count, and a dedicated
hidden_abilitycolumn.
Because each row is a single Pokémon with both categorical and numeric features, it works equally well for EDA, clustering, regression (predicting base_experience or capture_rate from stats) and teaching feature engineering.
🧾 Column groups
- Identity:
pokemon_id,name,generation,generation_id,is_default_form - Rarity:
is_legendary,is_mythical,is_baby - Typing:
type_1,type_2,type_count - Size:
height_dm,height_m,weight_hg,weight_kg,bmi - Stats:
hp,attack,defense,special_attack,special_defense,speed,stat_total,stat_average, and the four composites - Abilities:
n_abilities,abilities,hidden_ability - Catching/breeding:
capture_rate,capture_difficulty,base_happiness,gender_ratio_male_pct,hatch_counter,hatch_steps_estimate,growth_rate_id,evolves_from_species_id - Taxonomy:
color,habitat,shape,has_gender_differences,name_length
💡 Ideas for using this data
- Type-effectiveness EDA — which type pairs have the highest average stat totals?
- Clustering — do unsupervised clusters recover the classic "sweeper / wall / tank" archetypes?
- Regression — predict
base_experienceorcapture_ratefrom stats and typing. - Power creep over generations — track
stat_totalby generation and legendary status. - Classification — can a model tell legendary/mythical Pokémon from regular ones using only stats and size?
⚠️ Caveats
- Alternate forms appear as separate rows with ids outside the classic 1–1025 range; filter on
is_default_formfor species-level analysis. gender_ratio_male_pctis empty for genderless species.bmiis a derived novelty feature, not a health metric.
🔗 Provenance & licence
- Source: PokéAPI (
graphql.pokeapi.co, v1beta2) — community-maintained, Pokémon data © Nintendo / Game Freak / The Pokémon Company, used here for non-commercial research and fan analytics. - Snapshot: November 2026. 1,351 rows × 46 columns.
- Downloads last month
- 35