import polars as pl


def run(tb_customer_summary, options, contexts):
    result = tb_customer_summary.group_by("continent_name").agg(
        pl.col("customer_id").n_unique().alias("customer_count"),
    )
    return {"tb_customer_continent_summary": result}
