Skip to content

Commit

Permalink
Merge pull request AllenDowney#51 from robin-norwood/robin-fix-makepr…
Browse files Browse the repository at this point in the history
…egmap-typo

Should be 'nsfg.MakePregMap' if one is following the code from the be…
  • Loading branch information
AllenDowney authored Jul 7, 2016
2 parents b199759 + 06bade1 commit 7ad7ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/book.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ \section{Interpretation}

\begin{verbatim}
>>> caseid = 10229
>>> preg_map = MakePregMap(df)
>>> preg_map = nsfg.MakePregMap(df)
>>> indices = preg_map[caseid]
>>> df.outcome[indices].values
[4 4 4 4 4 4 1]
Expand Down

0 comments on commit 7ad7ae2

Please sign in to comment.