#NEWLINE# def setup( self ) : #NEWLINE# #INDENT# n = 5 #NEWLINE# N = 1000000.0 #NEWLINE# self . categories = list ( string . ascii_letters [ : N ] ) #NEWLINE# self . cat_idx = Index ( self . categories ) #NEWLINE# self . values = np . tile ( self . categories , N ) #NEWLINE# self . codes = np . tile ( range ( n ) , N )