#NEWLINE# def _get_type_pos( var_type ) : #NEWLINE# #INDENT# ix_cont = np . array ( [ ( c == 'c' ) for c in var_type ] ) #NEWLINE# ix_ord = np . array ( [ ( c == 'o' ) for c in var_type ] ) #NEWLINE# ix_unord = np . array ( [ ( c == 'u' ) for c in var_type ] ) #NEWLINE# return ( ix_cont , ix_ord , ix_unord )