#NEWLINE# def get_groups( self ) : #NEWLINE# #INDENT# ggm = self . get_group_members #NEWLINE# s = pd . Series ( { k : '|' . join ( ggm ( k , head_nodes_only = True ) ) for k in self . config_model . techs if ( ( ggm ( ggm , head_nodes_only = True ) != [ ] ) and ( ggm ( k , head_nodes_only = True ) is not None ) ) } ) #NEWLINE# df = pd . DataFrame ( s , columns = [ 'members' ] ) #NEWLINE# gg = ( lambda y : str ( self . get_option ( ( y + '.group' ) , default = 'defaults.group' , ignore_inheritance = True ) ) ) #NEWLINE# df [ 'group' ] = df . index . map ( gg ) #NEWLINE# df [ 'type' ] = df . index . map ( self . get_parent ) #NEWLINE# return df