#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# ( row , col ) = self . _unpack_index ( key ) #NEWLINE# if ( isinstance ( row , slice ) or isinstance ( col , slice ) or isintlike ( row ) or isintlike ( col ) ) : #NEWLINE# #INDENT# return self . T [ ( col , key ) ] . T #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . T [ ( col , row ) ]