Skip to content

Commit 2ebd1d6

Browse files
committed
fixup! ENH: Parametrized CategoricalDtype
1 parent cd5f4e2 commit 2ebd1d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/indexes/base.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -2174,8 +2174,9 @@ def union(self, other):
21742174
return other._get_consensus_name(self)
21752175

21762176
# TODO: is_dtype_union_equal is a hack around
2177-
# 1. buggy joins with duplicates
2178-
# 2. CategoricalIndex lacking setops
2177+
# 1. buggy set ops with duplicates (GH #13432)
2178+
# 2. CategoricalIndex lacking setops (GH #10186)
2179+
# Once those are fixed, this workaround can be removed
21792180
if not is_dtype_union_equal(self.dtype, other.dtype):
21802181
this = self.astype('O')
21812182
other = other.astype('O')

0 commit comments

Comments
 (0)