We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6d96d0 commit 71daad6Copy full SHA for 71daad6
pandas/core/frame.py
@@ -9288,10 +9288,9 @@ def stack(
9288
DataFrame. The new inner-most levels are created by pivoting the
9289
columns of the current dataframe:
9290
9291
- - if the columns have a single level, the output is a Series;
9292
- - if the columns have multiple levels, the new index
9293
- level(s) is (are) taken from the prescribed level(s) and
9294
- the output is a DataFrame.
+ - if the columns have a single level, the output is a Series;
+ - if the columns have multiple levels, the new index level(s) is (are)
+ taken from the prescribed level(s) and the output is a DataFrame.
9295
9296
Parameters
9297
----------
0 commit comments