

def _wrap_union_result(self, other, result):
    name = (self.name if (self.name == result.name) else None)
    return self.__class__(result, name=name)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index._wrap_union_result/VarMisuse@26/30 `other`->`result`