#NEWLINE# def test_convert_to_pandas_series( ) : #NEWLINE# #INDENT# x = pd . DataFrame ( np . arange ( 50 ) . reshape ( 10 , 5 ) , columns = list ( 'abcde' ) ) #NEWLINE# d = convert ( dd . DataFrame , d , npartitions = 2 ) #NEWLINE# a = convert ( pd . Series , d . a ) #NEWLINE# tm . assert_series_equal ( a , x . a )