(self, search)
return list(set(results))
Returns all features that match any of the elements in the input
        list.

        Args:
            search (str, list): A string or list of strings defining the query.

        Returns:
            A list of matching feature names.
Returns all features that match any of the elements in the input
        list.
Returns all features that match any of the elements in the input list .
def search_features(self, search):
        ''' Returns all features that match any of the elements in the input
        list.

        Args:
            search (str, list): A string or list of strings defining the query.

        Returns:
            A list of matching feature names.
        '''
        if isinstance(search, string_types):
            search = [search]
        search = [s.replace('*', '.*') for s in search]
        cols = list(self.data.columns)
        results = []
        for s in search:
            results.extend([f for f in cols if re.match(s + '$', f)])
        return list(set(results))
def search_features ( self , search ) : if isinstance ( search , string_types ) : search = [ search ] search = [ s . replace ( '*' , '.*' ) for s in search ] cols = list ( self . data . columns ) results = [ ] for s in search : results . extend ( [ f for f in cols if re . match ( s + '$' , f ) ] ) return list ( set ( results ) )