parameters: (self)
return_statement: return feature_names
docstring: Get feature names from all transformers.
  
          Returns
          -------
          feature_names : list of strings
              Names of the features produced by transform.
docstring_summary: Get feature names from all transformers.
docstring_tokens: Get feature names from all transformers .
function: def get_feature_names(self):
          """Get feature names from all transformers.
  
          Returns
          -------
          feature_names : list of strings
              Names of the features produced by transform.
          """
          check_is_fitted(self)
          feature_names = []
          for name, trans, _, _ in self._iter(fitted=True):
              if trans == 'drop':
                  continue
              elif trans == 'passthrough':
                  raise NotImplementedError(
                      "get_feature_names is not yet supported when using "
                      "a 'passthrough' transformer.")
              elif not hasattr(trans, 'get_feature_names'):
                  raise AttributeError("Transformer %s (type %s) does not "
                                       "provide get_feature_names."
                                       % (str(name), type(trans).__name__))
              feature_names.extend([name + "__" + f for f in
                                    trans.get_feature_names()])
          return feature_names
function_tokens: def get_feature_names ( self ) : check_is_fitted ( self ) feature_names = [ ] for name , trans , _ , _ in self . _iter ( fitted = True ) : if trans == 'drop' : continue elif trans == 'passthrough' : raise NotImplementedError ( "get_feature_names is not yet supported when using " "a 'passthrough' transformer." ) elif not hasattr ( trans , 'get_feature_names' ) : raise AttributeError ( "Transformer %s (type %s) does not " "provide get_feature_names." % ( str ( name ) , type ( trans ) . __name__ ) ) feature_names . extend ( [ name + "__" + f for f in trans . get_feature_names ( ) ] ) return feature_names