Skip to content

CLN: D414: Section has no content #31961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -3821,6 +3821,8 @@ def align(

@Appender(
"""
Examples
--------
>>> df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})

Change the row labels.
Expand Down
3 changes: 0 additions & 3 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,6 @@ def set_axis(self, labels, axis=0, inplace=False):
See Also
--------
%(klass)s.rename_axis : Alter the name of the index%(see_also_sub)s.

Examples
--------
"""
if inplace:
setattr(self, self._get_axis_name(axis), labels)
Expand Down
3 changes: 3 additions & 0 deletions pandas/core/indexes/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2140,6 +2140,9 @@ def reorder_levels(self, order):

Parameters
----------
order : list of int or list of str
List representing new level order. Reference level by number
(position) or by key (label).

Returns
-------
Expand Down
4 changes: 3 additions & 1 deletion pandas/core/internals/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ class BlockManager(PandasObject):

Parameters
----------

blocks: Sequence of Block
axes: Sequence of Index
do_integrity_check: bool, default True

Notes
-----
Expand Down
2 changes: 2 additions & 0 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -4006,6 +4006,8 @@ def rename(

@Appender(
"""
Examples
--------
>>> s = pd.Series([1, 2, 3])
>>> s
0 1
Expand Down