Skip to content

DEPR: sort=True in DataFrame.unstack and Series.unstack #53915

Open
@rhshadrach

Description

@rhshadrach

The sort argument was added in #53298 because of #15105. Now that users can get the unsorted result, they can use sort=False and call .sort_index after unstacking if they wish to have sorted columns.

Metadata

Metadata

Assignees

Labels

DeprecateFunctionality to remove in pandasReshapingConcat, Merge/Join, Stack/Unstack, Explode

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions