Skip to content

Commit e5f8dc3

Browse files
authored
Update analyze-baseball-stats-with-pandas-and-matplotlib.mdx
1 parent bc1a604 commit e5f8dc3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,9 @@ Let's try to identify some of those players! Here's how we'll tackle this proble
304304

305305
Let's begin by calculating OBP. This is the formula that we'll use. It takes into account not just hits, but walks, sacrifice flies, etc.
306306

307-
$OBP = \frac{H + BB + HBP}{AB + BB + HBP + SF}$
308-
H + BB + HBP / AB + BB + HBP + SF$
307+
$$
308+
OBP = {H + BB + HBP \over AB + BB + HBP + SF}
309+
$$
309310

310311
Let's add a new column to our Batting table:
311312

0 commit comments

Comments
 (0)