code: def transform(self, data):
          
          with timer('transform %s' % self.name, logging.DEBUG):
              transformed = super(NestedUnique, self).transform(self.unnest(data))
              return transformed.reshape((len(data), self.sequence_length))
docs: :param data: DataFrame with column to encode
          :return: encoded Series