def _characterize_header(self, header, hgroups):
out = []<EOL>for h in [header[g[<NUM_LIT:0>]] for g in hgroups]:<EOL><INDENT>this_ctype = None<EOL>for ctype, names in self._col_types.items():<EOL><INDENT>if h.startswith(names):<EOL><INDENT>this_ctype = ctype<EOL>break<EOL><DEDENT><DEDENT>out.append(this_ctype)<EOL><DEDENT>return out<EOL>
Characterize header groups into different data types.