You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#12934 feature request.
Author: Brandon Rhodes <[email protected]>
Closes#12943 from brandon-rhodes/master and squashes the following commits:
c6fbb3e [Brandon Rhodes] Add default values to swaplevel() i, j parameters
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.1.txt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ v0.18.1 (April ??, 2016)
4
4
------------------------
5
5
6
6
This is a minor bug-fix release from 0.18.0 and includes a large number of
7
-
bug fixes along several new features, enhancements, and performance improvements.
7
+
bug fixes along with several new features, enhancements, and performance improvements.
8
8
We recommend that all users upgrade to this version.
9
9
10
10
Highlights include:
@@ -131,6 +131,8 @@ These changes conform sparse handling to return the correct types and work to ma
131
131
132
132
API changes
133
133
~~~~~~~~~~~
134
+
- ``.swaplevel()`` for ``Series``, ``DataFrame``, ``Panel``, and ``MultiIndex`` now features defaults for its first two parameters ``i`` and ``j`` that swap the two innermost levels of the index. (:issue:`12934`)
135
+
134
136
- ``.searchsorted()`` for ``Index`` and ``TimedeltaIndex`` now accept a ``sorter`` argument to maintain compatibility with numpy's ``searchsorted`` function (:issue:`12238`)
135
137
136
138
- ``Period`` and ``PeriodIndex`` now raises ``IncompatibleFrequency`` error which inherits ``ValueError`` rather than raw ``ValueError`` (:issue:`12615`)
0 commit comments