Skip to content
Prev Previous commit
Next Next commit
Update pandas/core/generic.py
Co-Authored-By: dsaxton <daniel.saxton@gmail.com>
  • Loading branch information
WillAyd and dsaxton authored Jan 25, 2019
commit 612311e410ca0b6f04a110ee7dae8dd4d00bbd8e
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4086,7 +4086,7 @@ def sort_index(self, axis=0, level=None, ascending=True, inplace=False,
Returns
-------
sorted_obj : %(klass)s or None
An object of same type as caller if inplace=False, None otherwise.
DataFrame with sorted values.
"""
inplace = validate_bool_kwarg(inplace, 'inplace')
axis = self._get_axis_number(axis)
Expand Down