def filter_no_variants(df):
    """
    Objective: Filter out sitegeos where there are no variants
    :param df: Dataframe with all sitegeos
    :return: Dataframe with sitegeos having at least one variant
    """

    # Filter info last day
    __df_last = df[df['DATE'] == df['DATE'].max()]

    # Group by sitegeo, count brands
    __df_grouped = __df_last.groupby(by='sitegeo', as_index=False).brand_name.count()

    filter_sitegeos = []

    # Add sitegeos that have no variants
    for _ in range(len(__df_grouped)):

        if __df_grouped.loc[_, 'brand_name'] < 2:
            filter_sitegeos.append(__df_grouped.loc[_, 'sitegeo'])

    return df[~df['sitegeo'].isin(filter_sitegeos)]