Skip to content

Commit cc768a6

Browse files
wanglc02pmhatre1
authored andcommitted
DOC: Fix a bug in the docstring of stack method (pandas-dev#57881)
Fix a bug in the docstring of stack method
1 parent e1a3d39 commit cc768a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9305,7 +9305,7 @@ def stack(
93059305
section.
93069306
sort : bool, default True
93079307
Whether to sort the levels of the resulting MultiIndex.
9308-
future_stack : bool, default False
9308+
future_stack : bool, default True
93099309
Whether to use the new implementation that will replace the current
93109310
implementation in pandas 3.0. When True, dropna and sort have no impact
93119311
on the result and must remain unspecified. See :ref:`pandas 2.1.0 Release

0 commit comments

Comments
 (0)