#NEWLINE# def test_constructor_complex_dtypes( self ) : #NEWLINE# #INDENT# a = np . random . rand ( 10 ) . astype ( np . complex64 ) #NEWLINE# b = np . random . rand ( 10 ) . astype ( np . complex128 ) #NEWLINE# df = DataFrame ( { #NEWLINE# #INDENT# 'a' : a , #NEWLINE# 'b' : b , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( a . dtype , df . a . dtype ) #NEWLINE# self . assertEqual ( b . dtype , df . b . dtype )