Return of copy of the data inside a TDIP container

def to_ip(self):
        """Return of copy of the data inside a TDIP container
        """
        if 'chargeability' in self.data.columns:
            tdip = reda.TDIP(data=self.data)
        else:
            raise Exception('Missing column "chargeability"')
        return tdip