Skip to content
Prev Previous commit
Next Next commit
Change swaplevel return type
  • Loading branch information
Daniel Saxton committed Jan 27, 2019
commit 14a5e40976c3487d37534ac42eb1e00753727bca
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -5032,7 +5032,7 @@ def swaplevel(self, i=-2, j=-1, axis=0):

Returns
-------
same type as caller (new object)
DataFrame

.. versionchanged:: 0.18.1

Expand Down