Skip to content

Commit 3d18dd6

Browse files
committed
Fix IntervalIndex.symmetric_difference typo
1 parent 412988e commit 3d18dd6

File tree

3 files changed

+174
-120
lines changed

3 files changed

+174
-120
lines changed

doc/source/whatsnew/v0.21.1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Performance Improvements
4040
~~~~~~~~~~~~~~~~~~~~~~~~
4141

4242
- Improved performance of plotting large series/dataframes (:issue:`18236`).
43-
-
43+
- Improved performance of ``IntervalIndex.symmetric_difference()`` (:issue:`18475`)
4444
-
4545

4646
.. _whatsnew_0211.docs:
@@ -73,7 +73,7 @@ Indexing
7373
- Bug in a boolean comparison of a ``datetime.datetime`` and a ``datetime64[ns]`` dtype Series (:issue:`17965`)
7474
- Bug where a ``MultiIndex`` with more than a million records was not raising ``AttributeError`` when trying to access a missing attribute (:issue:`18165`)
7575
- Bug in :class:`IntervalIndex` constructor when a list of intervals is passed with non-default ``closed`` (:issue:`18334`)
76-
-
76+
- Bug in ``IntervalIndex.symmetric_difference()`` where the symmetric difference with a non-``IntervalIndex`` did not raise (:issue:`18475`)
7777
-
7878

7979
I/O

pandas/core/indexes/interval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ def func(self, other):
11641164
union = _setop('union')
11651165
intersection = _setop('intersection')
11661166
difference = _setop('difference')
1167-
symmetric_differnce = _setop('symmetric_difference')
1167+
symmetric_difference = _setop('symmetric_difference')
11681168

11691169
# TODO: arithmetic operations
11701170

0 commit comments

Comments
 (0)