def _eval_nseries(self, x, n, logx):
        expr = self.as_dummy()
        symb = x
        for l in expr.limits:
            if l[1:] in x:
                symb = l[0]
                break
        terms, order = expr.function.nseries(
            x=symb, n=n, logx=logx).as_coeff_add(Order)
        return integrate(terms, *expr.limits) + Add(*order)*x
dataset/ETHPy150Open sympy/sympy/sympy/integrals/integrals.py/Integral._eval_nseries/swapped operands of `in`