#NEWLINE# def test_rolling_dataframe( ) : #NEWLINE# #INDENT# df = pd . DataFrame ( { #NEWLINE# #INDENT# 'a' : np . random . randn ( 25 ) . cumsum ( ) , #NEWLINE# 'b' : np . random . randn ( 25 ) . cumsum ( ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# ddf = dd . from_pandas ( df , 3 ) #NEWLINE# rolling_tests ( ddf , ddf )