Skip to content

Commit 3c72d6f

Browse files
authored
DOC: Fix indendation in docstring sort_values 'by' parameter (#49812)
Fix indendation in docstring 'by'
1 parent 17c247f commit 3c72d6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/core/frame.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,13 @@
248248
inplace : bool, default False
249249
Whether to modify the DataFrame rather than creating a new one.""",
250250
"optional_by": """
251-
by : str or list of str
252-
Name or list of names to sort by.
251+
by : str or list of str
252+
Name or list of names to sort by.
253253
254-
- if `axis` is 0 or `'index'` then `by` may contain index
255-
levels and/or column labels.
256-
- if `axis` is 1 or `'columns'` then `by` may contain column
257-
levels and/or index labels.""",
254+
- if `axis` is 0 or `'index'` then `by` may contain index
255+
levels and/or column labels.
256+
- if `axis` is 1 or `'columns'` then `by` may contain column
257+
levels and/or index labels.""",
258258
"optional_labels": """labels : array-like, optional
259259
New labels / index to conform the axis specified by 'axis' to.""",
260260
"optional_axis": """axis : int or str, optional

0 commit comments

Comments
 (0)