Skip to content

Commit 71daad6

Browse files
TessAfanasyevapmhatre1
authored andcommitted
DOC: fix list indentation in pandas.DataFrame.stack (pandas-dev#57975)
1 parent c6d96d0 commit 71daad6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/core/frame.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -9288,10 +9288,9 @@ def stack(
92889288
DataFrame. The new inner-most levels are created by pivoting the
92899289
columns of the current dataframe:
92909290
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.
9291+
- if the columns have a single level, the output is a Series;
9292+
- if the columns have multiple levels, the new index level(s) is (are)
9293+
taken from the prescribed level(s) and the output is a DataFrame.
92959294
92969295
Parameters
92979296
----------

0 commit comments

Comments
 (0)