def map_columns(col):
if col.startswith('<STR_LIT>'):<EOL><INDENT>try:<EOL><INDENT>return VARIABLE_MAP[col]<EOL><DEDENT>except KeyError:<EOL><INDENT>return col<EOL><DEDENT><DEDENT>try:<EOL><INDENT>variable_name = VARIABLE_MAP[col[:<NUM_LIT:3>]]<EOL>variable_number = col[<NUM_LIT:3>:]<EOL>return variable_name + '<STR_LIT:_>' + variable_number<EOL><DEDENT>except KeyError:<EOL><INDENT>return col<EOL><DEDENT>
Map data element numbers to pvlib names.

    Parameters
    ----------
    col: str
        Column label to be mapped.

    Returns
    -------
    str
        The pvlib label if it was found in the mapping,
        else the original label.