We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd5f4e2 commit 2ebd1d6Copy full SHA for 2ebd1d6
pandas/core/indexes/base.py
@@ -2174,8 +2174,9 @@ def union(self, other):
2174
return other._get_consensus_name(self)
2175
2176
# TODO: is_dtype_union_equal is a hack around
2177
- # 1. buggy joins with duplicates
2178
- # 2. CategoricalIndex lacking setops
+ # 1. buggy set ops with duplicates (GH #13432)
+ # 2. CategoricalIndex lacking setops (GH #10186)
2179
+ # Once those are fixed, this workaround can be removed
2180
if not is_dtype_union_equal(self.dtype, other.dtype):
2181
this = self.astype('O')
2182
other = other.astype('O')
0 commit comments