diff --git a/pandas/core/series.py b/pandas/core/series.py index 3c81de3ef359d..e89b3569f41ba 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -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