Skip to content

Commit f0d89e6

Browse files
Updating documentation
1 parent 0103720 commit f0d89e6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/source/whatsnew/v0.19.1.txt

+1
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ Bug Fixes
4848
- Bug in ``MultiIndex.set_levels`` where illegal level values were still set after raising an error (:issue:`13754`)
4949
- Bug in ``DataFrame.to_json`` where ``lines=True`` and a value contained a ``}`` character (:issue:`14391`)
5050
- Bug in ``df.groupby`` causing an ``AttributeError`` when grouping a single index frame by a column and the index level (:issue`14327`)
51+
- Bug in ``Series.sort_index`` where parameters ``kind`` and ``na_position`` did not exist (:issue:`13589` & :issue:`14444`)

pandas/tests/series/test_sorting.py

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def test_sort_index_multiindex(self):
145145
res = s.sort_index(level='A', sort_remaining=False)
146146
assert_series_equal(s, res)
147147

148+
# GH #14444 & #13589: Add support for sort algo choosing
148149
def test_sort_index_kind(self):
149150
series = Series(index=[3, 2, 1, 4, 3])
150151
expected_series = Series(index=[1, 2, 3, 3, 4])

0 commit comments

Comments
 (0)