-
Notifications
You must be signed in to change notification settings - Fork 412
Open
Description
Hello,
Really appreciating this book. I thought I'd take the time to register that this doesn't add up.
In the pew dataset shown in the below picture, "Don't know/refused" is a value in the religion column:

After we melt with:
pew_long = pd.melt(pew, id_vars="religion")
we should not see this value in the new variable column on page 126. (There is another example of this with different arguments right afterward that also have this value in the income column):

I can't say what went wrong, and I'm on mobile at the moment, but I thought I'd let you know!
Metadata
Metadata
Assignees
Labels
No labels