Skip to content

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

Open
@maxvolpi

Description

@maxvolpi

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().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      inconsistencies between tables and commands in 3.8 line [18] · Issue #382 · jakevdp/PythonDataScienceHandbook