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