Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6739,8 +6739,6 @@ def stack(self, level=-1, dropna=True):
level(s) is (are) taken from the prescribed level(s) and
the output is a DataFrame.

The new index levels are sorted.

Parameters
----------
level : int, str, list, default -1
Expand Down Expand Up @@ -6976,8 +6974,6 @@ def unstack(self, level=-1, fill_value=None):
If the index is not a MultiIndex, the output will be a Series
(the analogue of stack when the columns are not a MultiIndex).

The level involved will automatically get sorted.

Parameters
----------
level : int, str, or list of these, default -1 (last level)
Expand Down
2 changes: 0 additions & 2 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3823,8 +3823,6 @@ def unstack(self, level=-1, fill_value=None):
"""
Unstack, also known as pivot, Series with MultiIndex to produce DataFrame.

The level involved will automatically get sorted.

Parameters
----------
level : int, str, or list of these, default last level
Expand Down