code: def numeric_to_timedelta(self, numerics):
          
          if self.package == 'pandas':
              return [self.type(int(x*self.factor), units='ns')
                      for x in numerics]
          else:
              return [self.type(seconds=x*self.factor)
                      for x in numerics]
docs: Convert sequence of numerics to timedelta