Skip to content

Commit e0d2605

Browse files
authored
DOC: Fix a bug in the docstring of stack method (pandas-dev#57881)
Fix a bug in the docstring of stack method
1 parent 89898a6 commit e0d2605

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)