#NEWLINE# def test_take( self ) : #NEWLINE# #INDENT# result = self . frame . take ( [ 1 , 0 , 2 ] , axis = 1 ) #NEWLINE# expected = self . frame . reindex ( columns = [ 'B' , 'A' , 'C' ] ) #NEWLINE# tm . assert_sp_frame_equal ( result , expected )