Skip to content

Commit

Permalink
Should be 'nsfg.MakePregMap' if one is following the code from the be…
Browse files Browse the repository at this point in the history
…ginning of the chapter ('import nsfg').
  • Loading branch information
robin-norwood committed Jul 7, 2016
1 parent 0ec94cb commit 06bade1
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 06bade1

Please sign in to comment.