Skip to content
Merged
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
14 changes: 7 additions & 7 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1895,18 +1895,18 @@ def sort_values(self, axis=0, ascending=True, inplace=False,

Parameters
----------
axis : {0 or index}, default 0
Axis to direct sorting. The value `index` is accepted for
axis : {0 or 'index'}, default 0
Axis to direct sorting. The value 'index' is accepted for
compatibility with DataFrame.sort_values.
ascending : bool, default True
If `True` sort values in ascending order, otherwise descending.
If True sort values in ascending order, otherwise descending.
inplace : bool, default False
If True, perform operation in-place.
kind : {quicksort’, ‘mergesort or heapsort}, default quicksort
Choice of sorting algorithm. See also :func:`np.sort` for more
information. `mergesort` is the only stable algorithm.
kind : {'quicksort', 'mergesort' or 'heapsort'}, default 'quicksort'
Choice of sorting algorithm. See also :func:'numpy.sort' for more
information. 'mergesort' is the only stable algorithm.
na_position : {'first' or 'last'}, default 'last'
Argument `first` puts NaNs at the beginning, `last` puts NaNs at
Argument 'first' puts NaNs at the beginning, 'last' puts NaNs at
the end.

Returns
Expand Down