Skip to content

Commit 76b9457

Browse files
authored
Update analyze-baseball-stats-with-pandas-and-matplotlib.mdx
1 parent 8010975 commit 76b9457

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

projects/analyze-baseball-stats-with-pandas-and-matplotlib/analyze-baseball-stats-with-pandas-and-matplotlib.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ We'll primarily use the files **Batting.csv**, **People.csv**, and **Teams.csv**
4848

4949
As a brief example, this is what the top of the **Batting.csv** file looks like:
5050

51+
![Batting table](https://raw.githubusercontent.com/codedex-io/projects/refs/heads/main/projects/analyze-baseball-stats-with-pandas-and-matplotlib/batting-table.png)
52+
5153
Each row represents the batting information for a player for a given year. For example, the first row shows that the player with the ID of `aardsda01` only played in `11` games in `2004` and had no hits or runs!
5254

5355
When looking at new data, it can also be helpful to look for the official data dictionary for the dataset. It can often be hard to interpret column names - for example, if you're not a baseball fan, you might not know what the column `AB` represents. Looking at the documentation file can help clear up any questions. In this case, we can look at **readme2025.txt** to learn that `AB` is "At Bats" (the number of times the player was up to the plate).

0 commit comments

Comments
 (0)