def _get_col_index(name):
index = string.ascii_uppercase.index<EOL>col = <NUM_LIT:0><EOL>for c in name.upper():<EOL><INDENT>col = col * <NUM_LIT> + index(c) + <NUM_LIT:1><EOL><DEDENT>return col<EOL>
Convert column name to index.