#NEWLINE# def _create_attr_map( self , df = None , columns = None ) : #NEWLINE# #INDENT# 'Creates map between unique values and available attributes.' #NEWLINE# if ( ( iterable is not None ) and ( columns is not None ) ) : #NEWLINE# #INDENT# self . _generate_items ( df , columns ) #NEWLINE# #UNINDENT# iterable = self . _setup_iterable ( ) #NEWLINE# return { item : next ( iterable ) for item in self . _item_tuples ( ) }