Skip to content

Commit c231709

Browse files
authored
Update analyze-baseball-stats-with-pandas-and-matplotlib.mdx
1 parent 73afd78 commit c231709

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ It's interesting that you can see the abbreviated 2020 season in this graph! The
224224

225225
Another fun visualization that you can create is a comparison of your favorite team's stats to the rest of the league. I grew up in Denver, so my team is the [Colorado Rockies](https://en.wikipedia.org/wiki/Colorado_Rockies), who have been laughably bad for the majority of my life. 😅
226226

227-
That being said, there is an interesting phenomenon with the Rockies: it is very easy to hit home runs in Denver because of the altitude. As a result, even though the Rockies are generally a fairly weak team, they end up hitting more home runs than their competitors. Let's graph the Rockies' home runs every year against the league average!
227+
That being said, there is an interesting phenomenon with the Rockies: **it is very easy to hit home runs in Denver because of the altitude**. As a result, even though the Rockies are generally a fairly weak team, they end up hitting more home runs than their competitors.
228+
229+
Let's graph the Rockies' home runs every year against the league average!
228230

229231
First, we can group the data by year and team to find each team's home runs for a given year:
230232

0 commit comments

Comments
 (0)