def _pop_header_name(row, index_col):
<EOL>i = index_col if not is_list_like(index_col) else max(index_col)<EOL>header_name = row[i]<EOL>header_name = None if header_name == "<STR_LIT>" else header_name<EOL>return header_name, row[:i] + ['<STR_LIT>'] + row[i + <NUM_LIT:1>:]<EOL>
Pop the header name for MultiIndex parsing.

Parameters
----------
row : list
    The data row to parse for the header name.
index_col : int, list
    The index columns for our data. Assumed to be non-null.

Returns
-------
header_name : str
    The extracted header name.
trimmed_row : list
    The original data row with the header name removed.