def ensure_ascii(in_string):
    """Remove any non-ASCII characters from the input string

    Parameters
    ----------
    in_string : str
        Input string

    output_string : str
        String with non-ASCII characters removed
    """
    encoded_string = in_string.encode('ascii', 'ignore')
    return encoded_string.decode()