def _wrap_union_result(self, other, result):
        name = self.name if self.name == other.name else None
        return self.__class__(result, name=name)
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index._wrap_union_result/original