#NEWLINE# def setup( self , dates ) : #NEWLINE# #INDENT# cols = { #NEWLINE# #INDENT# PREVIOUS_BUYBACK_CASH : self . get_sids_to_frames ( zip_with_floats , [ [ 'NaN' , 10 , 20 ] ] , date_intervals , dates ) , #NEWLINE# PREVIOUS_BUYBACK_ANNOUNCEMENT : self . get_sids_to_frames ( zip_with_dates , [ [ 'NaT' , '2014-01-04' , '2014-01-09' ] ] , date_intervals , dates ) , #NEWLINE# #UNINDENT# } #NEWLINE# cols [ DAYS_SINCE_PREV ] = self . _compute_busday_offsets ( cols [ PREVIOUS_BUYBACK_ANNOUNCEMENT ] ) #NEWLINE# return cols