parameters: (self)
return_statement: return self._return_type
docstring: Provides a namedtuple type which will be used for output.
  
      A Transform generates one or many outputs, named according to
      _output_names.  This method creates (and caches) a namedtuple type using
      those names as the keys.  The Transform output is then generated by
      instantiating an object of this type with corresponding values.
  
      Note this output type is used both for `__call__`, in which case the
      values are `TransformedSeries`, and for `apply_transform`, in which case
      the values are `Tensor`s.
  
      Returns:
        A namedtuple type fixing the order and names of the outputs of this
          transform.
docstring_summary: Provides a namedtuple type which will be used for output.
docstring_tokens: Provides a namedtuple type which will be used for output .
function: def return_type(self):
      """Provides a namedtuple type which will be used for output.
  
      A Transform generates one or many outputs, named according to
      _output_names.  This method creates (and caches) a namedtuple type using
      those names as the keys.  The Transform output is then generated by
      instantiating an object of this type with corresponding values.
  
      Note this output type is used both for `__call__`, in which case the
      values are `TransformedSeries`, and for `apply_transform`, in which case
      the values are `Tensor`s.
  
      Returns:
        A namedtuple type fixing the order and names of the outputs of this
          transform.
      """
      if self._return_type is None:
        # TODO(soergel): pylint 3 chokes on this, but it is legit and preferred.
        # return_type_name = "%sReturnType" % type(self).__name__
        return_type_name = "ReturnType"
        self._return_type = collections.namedtuple(return_type_name,
                                                   self.output_names)
      return self._return_type
function_tokens: def return_type ( self ) : if self . _return_type is None : # TODO(soergel): pylint 3 chokes on this, but it is legit and preferred. # return_type_name = "%sReturnType" % type(self).__name__ return_type_name = "ReturnType" self . _return_type = collections . namedtuple ( return_type_name , self . output_names ) return self . _return_type