polars.internals.frame.GroupBy.n_unique

GroupBy.n_unique() polars.internals.frame.DF

Count the unique values per group.