Skip to content

Commit cbbe3a2

Browse files
DOC: Fix DataFrame.reorder_levels SA01 error (#58431)
1 parent 12e47e9 commit cbbe3a2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9292
-i "pandas.DataFrame.plot PR02,SA01" \
9393
-i "pandas.DataFrame.prod RT03" \
9494
-i "pandas.DataFrame.product RT03" \
95-
-i "pandas.DataFrame.reorder_levels SA01" \
9695
-i "pandas.DataFrame.sem PR01,RT03,SA01" \
9796
-i "pandas.DataFrame.skew RT03,SA01" \
9897
-i "pandas.DataFrame.sparse PR01" \

pandas/core/frame.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7696,6 +7696,10 @@ def reorder_levels(self, order: Sequence[int | str], axis: Axis = 0) -> DataFram
76967696
DataFrame
76977697
DataFrame with indices or columns with reordered levels.
76987698
7699+
See Also
7700+
--------
7701+
DataFrame.swaplevel : Swap levels i and j in a MultiIndex.
7702+
76997703
Examples
77007704
--------
77017705
>>> data = {

0 commit comments

Comments
 (0)