def name_string_cleaner(record):
    """
    Pandas Helper function to clean "name" column.

    Args:
        record (str): Strings in "name" column.

    Returns:
        str: Cleaned string.
    """
    if "MIDAS" in str(record):
        return "midas"
    elif "TMU" in str(record):
        return "tmu"
    elif "TAME" in str(record):
        return "tame"
    elif "Legacy Site" in str(record):
        return "Legacy Site"
    else:
        return record