Skip to content

Commit 43ad336

Browse files
jorisvandenbosschePingviinituutti
authored andcommitted
DOC: fix double Returns section in set_index docstring (pandas-dev#23948)
1 parent 3f967dc commit 43ad336

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/core/frame.py

-4
Original file line numberDiff line numberDiff line change
@@ -3971,10 +3971,6 @@ def set_index(self, keys, drop=True, append=False, inplace=False,
39713971
DataFrame.reindex : Change to new indices or expand indices.
39723972
DataFrame.reindex_like : Change to same indices as other DataFrame.
39733973
3974-
Returns
3975-
-------
3976-
DataFrame
3977-
39783974
Examples
39793975
--------
39803976
>>> df = pd.DataFrame({'month': [1, 4, 7, 10],

0 commit comments

Comments
 (0)