#NEWLINE# def test_from_records_empty( self ) : #NEWLINE# #INDENT# result = DataFrame . from_records ( [ ] , columns = [ 'a' , 'b' , 'c' ] ) #NEWLINE# expected = DataFrame ( columns = [ 'a' , 'b' , 'c' ] ) #NEWLINE# assert_frame_equal ( result , expected ) #NEWLINE# result = DataFrame . from_records ( [ ] , columns = [ 'a' , 'b' , 'b' ] ) #NEWLINE# expected = DataFrame ( columns = [ 'a' , 'b' , 'b' ] ) #NEWLINE# assert_frame_equal ( expected , expected )