Skip to content

DOC: Reshaping Improvement #52142

@mcp292

Description

@mcp292

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html

Documentation problem

The reshaping section starts off with:

Data is often stored in so-called “stacked” or “record” format

but never goes on to specify which is which, and this is not discussed elsewhere in the documentation.

Suggested fix for documentation

I think it'd be clearer to discuss in terms of long vs wide form, which is well documented elsewhere, and/or point to which picture above is stacked and which is record. This would set the reader up to properly visualize the operations and discussions to come.

Also, the section should be renamed: "Reshaping and pivot tables" -> "Reshaping and pivoting tables".

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsNeeds TriageIssue that has not been reviewed by a pandas team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions