def _fix_tbit_dtype(self, array, colnums):
descr = array.dtype.descr<EOL>for i, colnum in enumerate(colnums):<EOL><INDENT>npy_type, isvar, istbit = self._get_tbl_numpy_dtype(colnum)<EOL>if (istbit):<EOL><INDENT>coldescr = list(descr[i])<EOL>coldescr[<NUM_LIT:1>] = '<STR_LIT:?>'<EOL>descr[i] = tuple(coldescr)<EOL><DEDENT><DEDENT>return array.view(descr)<EOL>
If necessary, patch up the TBIT to convert to bool array

parameters
----------
array: record array
colnums: column numbers for lookup