samyakbayar commited on
Commit
7b24b34
·
verified ·
1 Parent(s): fbce990

Upload pokemon-complete-stats dataset files

Browse files
Files changed (5) hide show
  1. KAGGLE.md +49 -0
  2. README.md +58 -0
  3. data_dictionary.csv +47 -0
  4. dataset-metadata.json +11 -0
  5. pokemon_stats.csv +0 -0
KAGGLE.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Pokémon Complete Stats — 1,351 Pokémon, 46 Engineered Features
2
+
3
+ **Subtitle:** Every Pokémon with base stats, types, abilities, breeding data, physical measurements and 15+ derived battle features.
4
+
5
+ ---
6
+
7
+ ## 📖 Description
8
+
9
+ 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](https://pokeapi.co) GraphQL endpoint.
10
+
11
+ Beyond the raw API fields, the dataset ships with derived features designed for actual modelling:
12
+
13
+ - **Battle composites** — `physique_score`, `special_score`, `offense_score`, `defense_score`, plus `stat_total` and `stat_average`.
14
+ - **Physical proxies** — height and weight in both API units and metric, plus a `bmi` feature (a playful but genuinely predictive variable for bulky Pokémon).
15
+ - **Catch & breeding economy** — `capture_rate`, a normalised `capture_difficulty`, `base_happiness`, `hatch_counter`, estimated `hatch_steps_estimate`, and `gender_ratio_male_pct`.
16
+ - **Evolution & taxonomy** — generation, colour, habitat, body shape, `evolves_from_species_id` so you can rebuild evolution chains.
17
+ - **Ability profile** — full ability list, count, and a dedicated `hidden_ability` column.
18
+
19
+ 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.
20
+
21
+ ## 🧾 Column groups
22
+
23
+ - **Identity**: `pokemon_id`, `name`, `generation`, `generation_id`, `is_default_form`
24
+ - **Rarity**: `is_legendary`, `is_mythical`, `is_baby`
25
+ - **Typing**: `type_1`, `type_2`, `type_count`
26
+ - **Size**: `height_dm`, `height_m`, `weight_hg`, `weight_kg`, `bmi`
27
+ - **Stats**: `hp`, `attack`, `defense`, `special_attack`, `special_defense`, `speed`, `stat_total`, `stat_average`, and the four composites
28
+ - **Abilities**: `n_abilities`, `abilities`, `hidden_ability`
29
+ - **Catching/breeding**: `capture_rate`, `capture_difficulty`, `base_happiness`, `gender_ratio_male_pct`, `hatch_counter`, `hatch_steps_estimate`, `growth_rate_id`, `evolves_from_species_id`
30
+ - **Taxonomy**: `color`, `habitat`, `shape`, `has_gender_differences`, `name_length`
31
+
32
+ ## 💡 Ideas for using this data
33
+
34
+ 1. **Type-effectiveness EDA** — which type pairs have the highest average stat totals?
35
+ 2. **Clustering** — do unsupervised clusters recover the classic "sweeper / wall / tank" archetypes?
36
+ 3. **Regression** — predict `base_experience` or `capture_rate` from stats and typing.
37
+ 4. **Power creep over generations** — track `stat_total` by generation and legendary status.
38
+ 5. **Classification** — can a model tell legendary/mythical Pokémon from regular ones using only stats and size?
39
+
40
+ ## ⚠️ Caveats
41
+
42
+ - Alternate forms appear as separate rows with ids outside the classic 1–1025 range; filter on `is_default_form` for species-level analysis.
43
+ - `gender_ratio_male_pct` is empty for genderless species.
44
+ - `bmi` is a derived novelty feature, not a health metric.
45
+
46
+ ## 🔗 Provenance & licence
47
+
48
+ - 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.
49
+ - Snapshot: November 2026. 1,351 rows × 46 columns.
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - tabular-classification
5
+ tags:
6
+ - tabular
7
+ pretty_name: 'Pokemon Complete Stats: 1,351 Pokemon & Features'
8
+ ---
9
+
10
+ # Pokémon Complete Stats — 1,351 Pokémon, 46 Engineered Features
11
+
12
+ **Subtitle:** Every Pokémon with base stats, types, abilities, breeding data, physical measurements and 15+ derived battle features.
13
+
14
+ ---
15
+
16
+ ## 📖 Description
17
+
18
+ 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](https://pokeapi.co) GraphQL endpoint.
19
+
20
+ Beyond the raw API fields, the dataset ships with derived features designed for actual modelling:
21
+
22
+ - **Battle composites** — `physique_score`, `special_score`, `offense_score`, `defense_score`, plus `stat_total` and `stat_average`.
23
+ - **Physical proxies** — height and weight in both API units and metric, plus a `bmi` feature (a playful but genuinely predictive variable for bulky Pokémon).
24
+ - **Catch & breeding economy** — `capture_rate`, a normalised `capture_difficulty`, `base_happiness`, `hatch_counter`, estimated `hatch_steps_estimate`, and `gender_ratio_male_pct`.
25
+ - **Evolution & taxonomy** — generation, colour, habitat, body shape, `evolves_from_species_id` so you can rebuild evolution chains.
26
+ - **Ability profile** — full ability list, count, and a dedicated `hidden_ability` column.
27
+
28
+ 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.
29
+
30
+ ## 🧾 Column groups
31
+
32
+ - **Identity**: `pokemon_id`, `name`, `generation`, `generation_id`, `is_default_form`
33
+ - **Rarity**: `is_legendary`, `is_mythical`, `is_baby`
34
+ - **Typing**: `type_1`, `type_2`, `type_count`
35
+ - **Size**: `height_dm`, `height_m`, `weight_hg`, `weight_kg`, `bmi`
36
+ - **Stats**: `hp`, `attack`, `defense`, `special_attack`, `special_defense`, `speed`, `stat_total`, `stat_average`, and the four composites
37
+ - **Abilities**: `n_abilities`, `abilities`, `hidden_ability`
38
+ - **Catching/breeding**: `capture_rate`, `capture_difficulty`, `base_happiness`, `gender_ratio_male_pct`, `hatch_counter`, `hatch_steps_estimate`, `growth_rate_id`, `evolves_from_species_id`
39
+ - **Taxonomy**: `color`, `habitat`, `shape`, `has_gender_differences`, `name_length`
40
+
41
+ ## 💡 Ideas for using this data
42
+
43
+ 1. **Type-effectiveness EDA** — which type pairs have the highest average stat totals?
44
+ 2. **Clustering** — do unsupervised clusters recover the classic "sweeper / wall / tank" archetypes?
45
+ 3. **Regression** — predict `base_experience` or `capture_rate` from stats and typing.
46
+ 4. **Power creep over generations** — track `stat_total` by generation and legendary status.
47
+ 5. **Classification** — can a model tell legendary/mythical Pokémon from regular ones using only stats and size?
48
+
49
+ ## ⚠️ Caveats
50
+
51
+ - Alternate forms appear as separate rows with ids outside the classic 1–1025 range; filter on `is_default_form` for species-level analysis.
52
+ - `gender_ratio_male_pct` is empty for genderless species.
53
+ - `bmi` is a derived novelty feature, not a health metric.
54
+
55
+ ## 🔗 Provenance & licence
56
+
57
+ - 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.
58
+ - Snapshot: November 2026. 1,351 rows × 46 columns.
data_dictionary.csv ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ column,data_type,description
2
+ pokemon_id,integer,National Pokédex number / API id.
3
+ name,string,Lower-case English species identifier.
4
+ generation,string,Generation name (e.g. generation-i).
5
+ generation_id,integer,Generation number (1-9).
6
+ is_legendary,boolean,True for legendary Pokémon.
7
+ is_mythical,boolean,True for mythical Pokémon.
8
+ is_baby,boolean,True for baby Pokémon.
9
+ is_default_form,boolean,True for the default form of the species.
10
+ type_1,category,Primary elemental type.
11
+ type_2,category,"Secondary elemental type, empty for mono-type Pokémon."
12
+ type_count,integer,Number of types (1 or 2).
13
+ height_dm,integer,Height in decimetres as stored by the API.
14
+ height_m,float,Height in metres.
15
+ weight_hg,integer,Weight in hectograms as stored by the API.
16
+ weight_kg,float,Weight in kilograms.
17
+ bmi,float,"Body mass index computed as kg / m² (a fun derived feature, not a health measure)."
18
+ base_experience,integer,Experience yield when defeated.
19
+ hp,integer,Base HP stat.
20
+ attack,integer,Base physical attack stat.
21
+ defense,integer,Base physical defense stat.
22
+ special_attack,integer,Base special attack stat.
23
+ special_defense,integer,Base special defense stat.
24
+ speed,integer,Base speed stat.
25
+ stat_total,integer,Sum of all six base stats.
26
+ stat_average,float,Mean of the six base stats.
27
+ physique_score,integer,HP + attack + defense (bulk/physical proxy).
28
+ special_score,integer,Special attack + special defense.
29
+ offense_score,integer,Attack + special attack.
30
+ defense_score,integer,Defense + special defense.
31
+ speed_score,integer,Speed stat (duplicated for convenience in modelling).
32
+ n_abilities,integer,Number of abilities including hidden ones.
33
+ abilities,string list,Semicolon-separated ability identifiers.
34
+ hidden_ability,string,"Hidden ability identifier, if any."
35
+ capture_rate,integer,"Catch rate, 3 (hardest) to 255 (easiest)."
36
+ capture_difficulty,float,Derived 255 / capture_rate; higher means harder to catch.
37
+ base_happiness,integer,Base friendship value.
38
+ gender_ratio_male_pct,float,"Percentage of males in the species, -1 for genderless."
39
+ hatch_counter,integer,Egg cycles required to hatch.
40
+ hatch_steps_estimate,integer,(hatch_counter + 1) × 255 steps.
41
+ growth_rate_id,integer,Growth-rate curve identifier.
42
+ evolves_from_species_id,integer,"Species id this Pokémon evolves from, empty if base form."
43
+ color,category,Pokédex colour category.
44
+ habitat,category,Pokédex habitat category.
45
+ shape,category,Pokédex body shape category.
46
+ has_gender_differences,boolean,True when sprite differs by gender.
47
+ name_length,integer,Character length of the species name.
dataset-metadata.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Pokemon Complete Stats: 1,351 Pokemon & Features",
3
+ "id": "samyakrajbayar/pokemon-complete-stats",
4
+ "subtitle": "Every Pokemon with base stats, types, abilities and battle features",
5
+ "description": "# Pok\u00e9mon Complete Stats \u2014 1,351 Pok\u00e9mon, 46 Engineered Features\n\n**Subtitle:** Every Pok\u00e9mon with base stats, types, abilities, breeding data, physical measurements and 15+ derived battle features.\n\n---\n\n## \ud83d\udcd6 Description\n\nThere are dozens of \"Pok\u00e9mon 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\u00e9mon** (all national-dex entries, including alternate forms such as Mega Evolutions, regional variants and Gigantamax forms) with **46 columns** pulled from the [Pok\u00e9API](https://pokeapi.co) GraphQL endpoint.\n\nBeyond the raw API fields, the dataset ships with derived features designed for actual modelling:\n\n- **Battle composites** \u2014 `physique_score`, `special_score`, `offense_score`, `defense_score`, plus `stat_total` and `stat_average`.\n- **Physical proxies** \u2014 height and weight in both API units and metric, plus a `bmi` feature (a playful but genuinely predictive variable for bulky Pok\u00e9mon).\n- **Catch & breeding economy** \u2014 `capture_rate`, a normalised `capture_difficulty`, `base_happiness`, `hatch_counter`, estimated `hatch_steps_estimate`, and `gender_ratio_male_pct`.\n- **Evolution & taxonomy** \u2014 generation, colour, habitat, body shape, `evolves_from_species_id` so you can rebuild evolution chains.\n- **Ability profile** \u2014 full ability list, count, and a dedicated `hidden_ability` column.\n\nBecause each row is a single Pok\u00e9mon 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.\n\n## \ud83e\uddfe Column groups\n\n- **Identity**: `pokemon_id`, `name`, `generation`, `generation_id`, `is_default_form`\n- **Rarity**: `is_legendary`, `is_mythical`, `is_baby`\n- **Typing**: `type_1`, `type_2`, `type_count`\n- **Size**: `height_dm`, `height_m`, `weight_hg`, `weight_kg`, `bmi`\n- **Stats**: `hp`, `attack`, `defense`, `special_attack`, `special_defense`, `speed`, `stat_total`, `stat_average`, and the four composites\n- **Abilities**: `n_abilities`, `abilities`, `hidden_ability`\n- **Catching/breeding**: `capture_rate`, `capture_difficulty`, `base_happiness`, `gender_ratio_male_pct`, `hatch_counter`, `hatch_steps_estimate`, `growth_rate_id`, `evolves_from_species_id`\n- **Taxonomy**: `color`, `habitat`, `shape`, `has_gender_differences`, `name_length`\n\n## \ud83d\udca1 Ideas for using this data\n\n1. **Type-effectiveness EDA** \u2014 which type pairs have the highest average stat totals?\n2. **Clustering** \u2014 do unsupervised clusters recover the classic \"sweeper / wall / tank\" archetypes?\n3. **Regression** \u2014 predict `base_experience` or `capture_rate` from stats and typing.\n4. **Power creep over generations** \u2014 track `stat_total` by generation and legendary status.\n5. **Classification** \u2014 can a model tell legendary/mythical Pok\u00e9mon from regular ones using only stats and size?\n\n## \u26a0\ufe0f Caveats\n\n- Alternate forms appear as separate rows with ids outside the classic 1\u20131025 range; filter on `is_default_form` for species-level analysis.\n- `gender_ratio_male_pct` is empty for genderless species.\n- `bmi` is a derived novelty feature, not a health metric.\n\n## \ud83d\udd17 Provenance & licence\n\n- Source: Pok\u00e9API (`graphql.pokeapi.co`, v1beta2) \u2014 community-maintained, Pok\u00e9mon data \u00a9 Nintendo / Game Freak / The Pok\u00e9mon Company, used here for non-commercial research and fan analytics.\n- Snapshot: November 2026. 1,351 rows \u00d7 46 columns.\n",
6
+ "licenses": [
7
+ {
8
+ "name": "CC0-1.0"
9
+ }
10
+ ]
11
+ }
pokemon_stats.csv ADDED
The diff for this file is too large to render. See raw diff