The Pokémon trainer's guide to pandas and matplotlib
summary
Uses Pandas and matplotlib on a pokemon.csv with 898 rows to compute game stats (uses formula HP = 2HP + 110 and for others 2stat + 5), creates _final stat columns via join, adds a row-wise total (axis=1) and finds Mew as the first with total > 600 and the last Pokémon’s final speed = 165, converts three is_* flags to Boolean and primary type to categorical, plots colored bar and horizontal bar charts and violin plots for speed by type, saves the figure and the code runs end‑to‑end producing the described outputs.
AI-written summary · about
chapters (13)
- 0:00Welcome
- 1:07Setting up the environment and repository
- 13:33Pandas DataFrames and Series
- 31:26Pokémon stats and broadcasting
- 1:06:22Data types and Boolean ops
- 1:36:53Coffee break
- 1:37:37Efficient data transformations
- 1:43:51Matplotlib basics
- 2:00:08Line plots with Pokémon data
- 2:07:16Bar plots for type distribution
- 2:33:35Plot colors and labels
- 2:51:14Violin plots for stats
- 3:00:32Final thoughts and resources
related talks
01h 26mPandas: .head() to .tail()
01h 29mPandas and Plots for Data Analysis
01h 28mPython Visualization for Exploration of Data
01h 04mVisualising Data through Pandas
01h 21mPandas from the Inside
01h 31mPandas, Data Wrangling & Data Science
59mPlotting with Matplotlib; Telling Static, Animated, & Interactive Stories
01h 26mTurning DataFrames into Pretty Pictures with Plotnine
