def filter_teritories(df, territories):
    """
    Filters the dataframe for the desired territories
    :param df: Data containing geographical labels
    :param territories: Geographical labels desired
    :return: Filtered DataFrame
    """
    if isinstance(territories, list):
        df = df[df["geographical_label"].isin(territories)]
    else:
        msg = "territories should be a list of country ISO codes"
        raise TypeError(msg)
    return df