#NEWLINE# @ classmethod #NEWLINE# def make_stock_dividends_data( cls ) : #NEWLINE# #INDENT# declared_date = cls . sim_params . trading_days [ 45 ] #NEWLINE# ex_date = cls . sim_params . trading_days [ 50 ] #NEWLINE# record_date = pay_date = cls . sim_params . trading_days [ 55 ] #NEWLINE# return pd . DataFrame ( { #NEWLINE# #INDENT# 'sid' : np . array ( [ 4 ] , dtype = np . uint32 ) , #NEWLINE# 'payment_sid' : np . array ( [ 5 ] , dtype = np . uint32 ) , #NEWLINE# 'ratio' : np . array ( [ 2 ] , dtype = np . float64 ) , #NEWLINE# 'declared_date' : np . array ( [ declared_date ] , dtype = 'datetime64[ns]' ) , #NEWLINE# 'ex_date' : np . array ( [ record_date ] , dtype = 'datetime64[ns]' ) , #NEWLINE# 'record_date' : np . array ( [ record_date ] , dtype = 'datetime64[ns]' ) , #NEWLINE# 'pay_date' : np . array ( [ pay_date ] , dtype = 'datetime64[ns]' ) , #NEWLINE# #UNINDENT# } )