Skip to content

Commit 4d60246

Browse files
Post review improvements.
Reviewed by Marco.
1 parent d3ef094 commit 4d60246

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5250,13 +5250,14 @@ def stack(self, level=-1, dropna=True):
52505250
52515251
Returns
52525252
-------
5253-
stacked : DataFrame or Series
5253+
DataFrame or Series
5254+
Stacked dataframe or series.
52545255
52555256
See Also
52565257
--------
5257-
pandas.DataFrame.unstack: unstack prescribed level(s) from index axis onto column axis.
5258-
pandas.DataFrame.pivot: reshape dataframe from long format to wide format.
5259-
pandas.DataFrame.pivot_table: create a spreadsheet-style pivot table as a DataFrame.
5258+
DataFrame.unstack: unstack prescribed level(s) from index axis onto column axis.
5259+
DataFrame.pivot: reshape dataframe from long format to wide format.
5260+
DataFrame.pivot_table: create a spreadsheet-style pivot table as a DataFrame.
52605261
"""
52615262
from pandas.core.reshape.reshape import stack, stack_multiple
52625263

0 commit comments

Comments
 (0)