Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistencies between tables and commands in 3.8 line [18] #382

Open
maxvolpi opened this issue Sep 16, 2023 · 0 comments
Open

inconsistencies between tables and commands in 3.8 line [18] #382

maxvolpi opened this issue Sep 16, 2023 · 0 comments

Comments

@maxvolpi
Copy link

there are some inconsistencies in 3.8 on line [18].

I think the final .unstack() method should be removed from line [18] to produce the correct table.

the line I am talking about has this code:

[18] planets.groupby("method")["year"].describe().unstack()

The second edition is consistent between the command and the table produced, but I think what the author wanted was the table obtained in the first edition (page 164 of the printed ed), which is generated without using .unstack().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant