#NEWLINE# def setup( self ) : #NEWLINE# #INDENT# self . idx = self . get_index_for_offset ( WeekOfMonth ( 1 , ** { #NEWLINE# #INDENT# 'week' : 1 , #NEWLINE# 'weekday' : 1 , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . df = DataFrame ( np . random . randn ( len ( self . idx ) , 10 ) , index = self . idx ) #NEWLINE# self . d = dict ( [ ( col , self . df [ col ] ) for col in self . df . columns ] )